How to write shell script.
Shell tutorial.