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