Advanced UNIX Shell Programming( WT-1311-180 )
| Course Description |  |

This course is the second in a two-part series designed for UNIX users who are ready to begin exploring the power and support available in the shell environment. This series covers the essential aspects of shell programming and provides an overview of the similarities and differences among the most popular shells. Students will learn advanced features including embedded command execution, command line argument processing, debugging techniques, use of sed to edit files, and use of awk to format command output.
This course requires a computer running Windows, Macintosh, or UNIX, and telnet software.
eMentoring Services are included with this course.
Course length: 8 hours
| Course details |
| id:
WT-1311-180 |
| subscription duration:
180 days
| | list price: $
325.00 |
|
Languages Offered |
 |
This course is currently available in English only.
|
Prerequisites |
 |
To succeed fully in this course, students should be able to: Demonstrate completion of UNIX Fundamentals Bundle and Creating Basic UNIX Shell Scripts, or equivalent knowledge and experience
|
Skills Gained |
 |
Upon completion of this course, you should be able to: Create a shell script that can add and remove lines from a text fileCreate a shell script that searches text files for a given patternCreate a shell script that prints a subset of columns from a text fileCreate a shell script that uses command line arguments and optionsIdentify and debug common problems found in shell scripts
|
Related Courses |
 |
Before: Creating Basic UNIX Shell Scripts
|
Course Content |
 |
Course introductionPrerequisitesWhat you needCourse resourcesYour learning communityMeet your instructorThe course project
Processes and shellsThe login shellWhat is a process?Starting other shellsParent and child processesThree ways to run a shell scriptSpecifying the shell in a scriptThe PATHModule wrap up
Embedded command executionDefining embedded executionEmbedded command syntaxWhen to use embedded executionUsing embedded execution in a for loopModule wrap up
Useful UNIX commandsThe find commandThe wc commandThe sort commandUsing variables with the sort commandThe sleep and clear commandsThe grep commandThe -c option to grepThe tee commandModule wrap up
Debugging shell scriptsTypes of errorsTracing shell scriptsIdentifying common errorsData handling errorsIdentifying common errorsPrinting progress statementsTrapping system signalsModule wrap-up
Writing shell functionsThe purpose of functionsDefining a functionCalling a functionA script that uses functionsSharing data with functionsCreating a reusable functionObtaining functions from othersModule wrap-up
Using sedIntroducing sedBasic sed syntaxDeleting selected stringsReplacing textPrinting selected stringsUsing the and variableUsing multiple sed commandsUsing sed with other commandsModule wrap-up
Using awkIntroducing awkLooking at a file from an awk perspective.Basic awk syntaxThe BEGIN and END sectionsSelecting part of a file based on a regular expressionUsing comparisons in awkCombining matchesCreating multi-line awk commandsVariablesArithmeticUsing awk with other commandsModule wrap up
|
Module 9: Shell built-in variables and commands |
Back To Top
| Shell built-in variables and commandsCommand-line argumentsShell built-in variablesScript optionsThe shift commandThe set commandUsing set and shift togetherModule wrap up
Course conclusionWe'd love your feedbackCourse survey |