theurbanpenguin.com
3.3 Turning Commands into Scripts - The Urban Penguin
If you can enter commands in Linux you can write Linux Shell Scripts. This lesson looks at turning commands into scripts.