back to Course Categories | back | print
Shell Programming          

Duration: 3 days

Description 
This class will teach students the fundamentals of shell script programming. Students will learn the programming basics, control constructs, quoting mechanisms and how to develop interactive applications. Students will write numerous programs to develop skill and expertise with shell programming.

Topics

  • Using the Unix shell
  • Troubleshoot and resolve problems in a Unix environment
  • Understanding Unix processes
  • Function in a Unix networking environment
  • Shell environment
  • Controlling the shell environment
  • Managing startup files
  • Working with shell variables
  • Shell control constructs
  • Writing shell functions
  • Shell operators
  • Shell I/O
  • Here documents
  • Special variables
  • Understanding Unix processes
  • The ps command
  • Options of the ps command
  • Background processes
  • Killing background processes
  • Function in a Unix networking environment
  • File permissions
  • The chmod, chgrp and chmod commands
  • The umask command
  • Directory permissions
  • Shell environment
  • The command line
  • Standard input, output and standard error
  • I/O redirection
  • Appending to files
  • Working with pipes
  • The tee utility
  • Filename generation
  • Unix special characters
  • The ? character
  • The * character
  • THe [] characters
  • THe ! character
  • Working with shell variables
  • Shell control constructs
  • Quoting mechanisms
  • Single and double quotes
  • Back quotes
  • Here documents
  • Quoting with Here documents
  • Command substitution
  • The export command
  • The read command
  • User created variables
  • Working with the command line
  • The test command
  • The if statement
  • Iteration loops in the shell
  • The foor loop
  • The while loop
  • The generic loop
  • The case construct
  • Exit status of scripts
  • Command line arguments
  • $# argument
  • The shift command
  • The set command
  • $* argument
  • $$ argument
  • Shell operators
  • Shell I/O
  • Command line history
  • Aliases
  • Editing the command line
  • Re-executing commands on the command line
  • Using shell functions
  • Function arguments
  • Function return values
  • Function libraries
  • Process intercommunication
  • The print command
  • The read command
  • Signals
  • Named pipes
  • Using the wait command
  • Debugging techniques
  • Script tracing
  • Conditional debugging
  • Debugging options

Prerequisites

  • A fundamental understanding of Unix including commands, utilities and vi.
  • A background in programming.

  • This class can be taught in a Linux environment. If so the bash shell will be emphasized.

 
 
 

Trubix Inc. P.O. Box 2235 Littleton, CO 80161 | 1.866.4-TRUBIX • 303.730.6800
email: info@trubix.com
....................................................................................................................................................................

Training Service | Consulting / Mentoring | Public Schedule | Course Listings | Tru iLearning | About Us | Contact Us
Oracle DBA Classes | Oracle Dev Classes | Oracle App Server Classes | Linux / Unix Classes
SQL Server / .NET / Tools / DB2 Classes / Public Classes

 

 
all content property © 2006, 2007Trubix Inc.| site design by Art Z design