On Wed, Oct 31, 2001 at 06:55:52AM -0800, Desai Ashish wrote:
Dear Luggers, Any one of you having Idea that How to prepare a Shell Script in Linux..? Is it Like a Batch file of DOS..? Plz . suggest me some Step by Step method that how to prepare a Shell Script aling wiht some good URLs for Shell Scripting.
well, the best way is to learn from examples, and with the help of a god book.
A nice book (for concepts et al) is by Kernighan and Pike (the famous "yellow" book).
If you are using redhat, also look in /etc/rc.d (rc.sysinit is a great place, but too complex to start with). rc.local is also good.
use cut and paste in parts to see what runs and what does not, and that will give you a good idea.
hth.