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. [Ashish]
__________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
http://www.google.com/search?q=Guide+on+Bash+Scripting&btnG=Google+Searc... ----- Original Message ----- From: "Desai Ashish" desaiaish99@yahoo.com To: linuxers@mm.ilug-bom.org.in Sent: Wednesday, October 31, 2001 8:25 PM Subject: [ILUG-BOM] Shell Scripting
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. [Ashish]
Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com _______________________________________________
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
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.
Sometime on Oct 31, Desai Ashish assembled some asciibets to say:
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
Similar, but much more powerful. I'd suggest you get a book on Unix shell programming. Also read the bash programming howto, but getting a book is a must. Read the bash man page.
--- Philip S Tellis philip.tellis@iname.com wrote:
Sometime on Oct 31, Desai Ashish assembled some asciibets to say:
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
Similar, but much more powerful. I'd suggest you get a book on Unix shell programming. Also read the bash programming howto, but getting a book is a must. Read the bash man page.
Advanced Bash-Scripting Guide http://www.linuxdoc.org/guides.html
Wonderful reference for scripting!
"This document is both a tutorial and a reference on shell scripting with Bash. It assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction. The exercises and heavily-commented examples invite active reader participation."
SameerDS.
===== -- MTech Student Reconfigurable Computing Lab KReSIT, IIT-Bombay
__________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
On Wed, 31 Oct 2001, Sameer D. Sahasrabuddhe wrote:
->--- Philip S Tellis philip.tellis@iname.com wrote: ->> Sometime on Oct 31, Desai Ashish assembled some asciibets to say: ->> ->> > 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 ->> ->> Similar, but much more powerful. I'd suggest you get a book on Unix ->> shell programming. Also read the bash programming howto, but getting ->> a book is a must. Read the bash man page. -> ->Advanced Bash-Scripting Guide ->http://www.linuxdoc.org/guides.html
Get this from http://db.ilug-bom.org.in/abs-guide/, our own website.
Nagarjuna
--- "Nagarjuna G." nagarjun@hbcse.tifr.res.in wrote:
On Wed, 31 Oct 2001, Sameer D. Sahasrabuddhe wrote: ->Advanced Bash-Scripting Guide ->http://www.linuxdoc.org/guides.html
Get this from http://db.ilug-bom.org.in/abs-guide/, our own website.
Ooops! Sorry, I kinda forgot about that link!
SameerDS.
===== -- MTech Student Reconfigurable Computing Lab KReSIT, IIT-Bombay
__________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com