Hey its very nice yaar i am bit new in scripting but will get to learn a lot from this i will also try to add a half-day marking lets see will post the same n will ask your guidance where ever required.
On Wed, Apr 6, 2011 at 7:33 AM, Binand Sethumadhavan binand@gmail.comwrote:
2011/4/5 Rony gnulinuxist@gmail.com:
and I think the hashbang has to be the *first* line
Every line or else it becomes the script to be run.
It means, your script should look like:
#!/bin/bash # This program is free software blah blah... echo "stuff"
The sequence "#!" is called the hashbang. The hash needs to be the first byte in the file, and the bang needs to be the second.
Binand