A practical introduction to writing scripts using the Bourne shell under any Linux operating system. Applicable for those using the Korn shell as well.
Programmers developing programs under UNIX.
Administrators / support personnel who wish to find out more about the workings of Linux or write simple utility programs.
2 days
What does the shell do? How are commands executed? Different shells. what is a shell script? Comments, creating shell scripts.
Setting variables, using variables, set, scope, export, sourcing, environmental variables, read.
$0 to $9, $#, $* and others. shift parameter substitution.
The test command The if statement while loops for loops The case statement.
Redirection of errors, here documents, quoting.
The expr command.
The terminfo database, The tput command.
Shell functions, getopts, xargs, debugging shell scripts, portability issues. Extras in the Korn shell.
The time command, performance tips.
"Course was tailored to our requirements. Very flexible."
"I’ve found it very useful and the course was very well put together and delivered."
This structured training course seeks to build upon workbook learning through the use of group exercises, dynamic discussion and individual tasks in order to deliver an engaging and interactive module that will ensure all candidates are able to transfer their new skills into the workplace.