Please use ***[code][/code]
*** tags around your code and data, to preserve the original formatting and to improve readability. Do not
use quote tags, bolding, colors, "start/end" lines, or other creative techniques.
What have you tried so far? We're not going to do your homework for you, but we will help you out when you have specific
I suggest you start by reading through a good scripting reference like the BashGuide here:
Then check out the related Bash Pitfalls
and Bash FAQ
lists. FAQ #1 in particular should be very helpful for your current requirements.