Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Customising Up: Shell Scripts and Awk Previous: Exercises   Contents

Answers to examples

Note that these script begin with a line saying #!/bin/sh. This will force the script to be interpreted by the Posix shell even if the user is using another, incompatible, type of shell. Your system might require a different initial line. If you leave the line out, the user's current shell will be used.

Tim Love 2010-04-27