Click to See Complete Forum and Search --> : BASH Programming
philkiwi2k3
07-30-2003, 04:26 PM
ok, i know that BASH is a shell, and i know how to use it, but i dont know what is BASH programming.
i just wanted to know ...
why is BASH progamming done?
and how is it done (its written in an editor and compiled ?)
thanx
No, you don't compile it. You only need to write using any editor you want.
You can find BASH scripting HOWTOS at TLDP (www.tldp.org).
evac-q8r
07-30-2003, 04:42 PM
It simplifies the amount of command line typing one must do in order to execute repetitive commands. You can use loops and conditional statements in order to perform a wide range of tasks. Usually a shell program is referred to as a script. For example, you can copy multiple files from one directory to another while at the same time checking files for certain characteristics say, does the file exist, its size, who owns it, etc and based off of these characteristics of the file you can delete it, move it to a particular directory, and so on.
EVAC
lazy13
07-30-2003, 04:56 PM
http://www.linuxcommand.org
great website: teaches basics of bash and scripting.
karthik
07-31-2003, 01:25 AM
most of the linux bootup scripts are written in BASH. it consumes less resources when compared to perl
philkiwi2k3
07-31-2003, 07:45 AM
things are much clearer now,
thanx a lot for your time and your help
see ya
iAmPhil