Introduction - If you have any usage issues, please Google them yourself
ShellProgramming
Basically, a shell script is a text file with Unix
commands in it.
u Shell scripts usually begin with a #! and a shell
name
– For example: #!/bin/sh
– If they do not, the user s current shell will be used
u Any Unix command can go in a shell script
– Commands are executed in order or in the flow
determined by control statements.
u Different shells have different control structures
– The #! line is very important
– We will write shell scripts with the Bourne shell (sh)