Shell Programming for System Administrators


The Shell Programming for System Administrators course provides students with the skills to read, write, and debug UNIX shell scripts. The course begins by describing simple scripts to automate frequently executed commands and continues by describing conditional logic, user interaction, loops, menus, traps, and functions. This course is intended for system administrators who have mastered the basics of a UNIX Operating Environment (OE) such as the Solaris OE or Linux and who would like to read and understand the various boot scripts and write their own scripts to automate their day-to-day tasks. This course explores, in detail, the Bourne and Korn shell scripting languages.


  • Use flow control constructs, such as branching and looping
  • Customize system-wide shell initialization files
  • Use local and environmental variables and shell metacharacters in scripts
  • Use the exit status of a command to determine if the command suceeded or failed
  • Develop interactive scripts
  • Write a script that uses functions
  • Write a script that uses a trap to catch a signal
  • Acess and process command-line arguments passed into a script
  • Write sed scripts to perform noninteractive editing tasks
  • Write nawk scripts to manipulate individual fields within a record
  • Write nawk scripts to write reports based upon an input file
  • Perform string manipulation and integer arithmetic on shell variables
  • Write real world administration and reporting scripts
  • Use regular expressions with the grep, sed, and nawk
  • Manipulate text files with grep, sed, and nawk


  • Use basic UNIX commands, such as rm, cp, man, more, mkdir, ps, and chmod
  • Create and edit text files in vi or a text editor
  • System Administration for the Solaris 10 OS Part 1 (SA-200-S10)


  • UNIX Shells and Shell Scripts
  • Writing and Debugging Scripts
  • The Shell Environment
  • Regular Expressions and the grep Command
  • The sed Editor
  • The nawk Programming Language
  • Conditionals
  • Interactive Scripts
  • Loops
  • The getopt Statement
  • Advanced Variables, Parameters, and Argument Lists
  • Functions

Quero saber mais informações sobre este curso

Shell Programming for System Administrators

Solaris | 30h


Pretende mais informação sobre este curso?

Preencha o formulário com os seus dados e as suas questões e entraremos em contacto consigo para lhe darmos todas as informações pretendidas.