(703)246-9100 Northern Virginia

(804)285-5830 Central Virginia

(757)420-3810 Tidewater Area

(800)294-7497 Toll Free

(804)285-3722 Fax

www.ACTisIT.com

UNIX (Linux) Shell Script

Duration: 4 days


Develop the skills to effectively program with the Korn shell.


Print Outline in PDF format

 

Course Description:


This course is intended to help take you from having a rudimentary knowledge of UNIX shell to being able to automate some tasks under UNIX. There is no system-imposed distinction between typing commands into the shell and writing scripts. The vast majority of the constructs that are discussed in the next 4 days can be used just as easily from the command line as they can from within a script. Once you learn to use these techniques from within scripts you will find uses for them from the command line.


You can learn to …

Who Needs to Attend:


Software developers, power users, system administrators or those who want to increase their productivity in using, or administering their UNIX system or who want to take advantage of Korn shell features when developing software for UNIX systems.


Prerequisites:

Attending an Introductory UNIX course or equivalent experience


Lab Exercises:

  1. Redirecting I/O

  2. Pipes and Wildcards

  3. Job Control and Aliasing

  4. Using Variables

  5. Editing Text with vi (1) or vedit

  6. Searching with Patterns

  7. String Substitutions

  8. Customizing vi (1)

  9. Basic Programming

  10. Shell Variables

  11. Shell Arithmetic

  12. Editing with vi

  13. Using the at facility

  14. Scheduling

  15. Branching

  16. Loops

  17. Programming with awk(1)

Course Content:

INTRODUCTION TO THE UNIX SHELL

WORKING WITH SHELL SETTINGS

EDITING FILES WITH vi

THE KORN SHELL AND OTHER UNIX SHELLS

SCRIPT EXECUTION PRIVILEGES

BASIC PROGRAMMING TECHNIQUES

SHELL VARIABLES

STRING OPERATORS

ADVANCED EDITING WITH vi

PROCESSES