UNIX
training course contents
Review of UNIX fundamentals
Basic shell scripts
What does the shell do? How are commands executed? Different shells. What is a shell script? Comments,
creating shell scripts.
Variables
Setting variables, using variables, set, scope, export, sourcing, environmental variables, read.
Positional parameters
$0 to $9, $#, $* and others. shift parameter substitution.
Control statements
The test command
The if statement
while loops
for loops
The case statement
Special characters
Redirection of errors, here documents, quoting.
Arithmetic in shell scripts
The expr command.
System shell scripts
Screen handling
The terminfo database
The tput comand
Avanced issues (optional session)
Shell functions, getopts, xargs, debugging shell scripts, portability issues. Extras in the Korn shell.
Optimising shell scripts
The time command, performance tips.
|