Results 1 to 4 of 4
can any body tell me the basics of scripting in linux....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-08-2003 #1Just Joined!
- Join Date
- Mar 2003
- Location
- India
- Posts
- 20
help on scripting
can any body tell me the basics of scripting in linux.
- 03-08-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
That really depends on what language you want. There are many; a few are shell scripting, perl, scheme and python.
I'm guessing that what you want is shell scripting. I'm in quite a hurry right now, so I can't describe it all, but create a file, begin it with a single line which reads "#!/bin/sh", and chmod it to 755 to make it executable. Then just anter the commands, one per line. There are conditional commands and all, see man bash or info bash.
- 03-12-2003 #3Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
I suggest reading the bash scripting howto at any of the linux doc sites.
- 03-12-2003 #4Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
or you can always read through other scripts that other people wrote. try `file /usr/bin/* | grep Bourne` This will show you all the bash scripts in that directory. Mmm . . . bash.
I respectfully decline the invitation to join your delusion.


Reply With Quote
