EtusivuOhjelmistokehitysShell Programming

Shell Programming

After the course the participants know how to read, change and implement Shell-scripts. The shells covered during the course include Bash, sh, and ksh.




2 päivää


1550 €

Target Group

The course targets system administrators and programmers working in Unix/Linux environment. The participant should have the basic knowledge of the target operating system and also be familiar with character based text editor (vi, emacs).

Contents of Shell Programming

1st day


  • History of shell scripting
  • Shell versions and standards
  • Bourne Shell and C-Shell


  • Functionality
  • Editors
  • Initialization files
  • Shell variables
  • Environment variables

Special characters

  • Double quotes
  • Expanding file names
  • Completion
  • Grouping of commands 

2nd day

Programming basics

  • Command line arguments
  • Conditional statements
  • Looping statements
  • Operators, lists
  • Return values
  • Redirects, pipes
  • Build-in functionality

Special features

  • Arithmetics
  • Functions
  • Conditional declaration
  • Interactive scripts
  • Arrays
  • Signals
  • Advanced techniques


Course begins at 9.00 and ends at 16.-16.30. Breakfast is served from 8.15 onwards.