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.
Koulutusmuoto
Classroom
Kesto
2 päivää
Hinta
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
Introduction
- History of shell scripting
- Shell versions and standards
- Bourne Shell and C-Shell
Basics
- 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
Schedule
Course begins at 9.00 and ends at 16.-16.30. Breakfast is served from 8.15 onwards.