This is called a shell script. "
Add this to the top of the file:
#!/bin/sh
Then run the following command:
chmod +x filename
Then execute it as a program:
./filename
Alternatively, you can directly launch the shell by telling it to execute commands in your file:
sh -e filename
Flimzy
source share