Mac unix linux batch file
From Logic Wiki
- Create a text file with .sh extension ie : runme.sh
- Add codes starting the first line like below
#!/bin/bash echo "Hello World!"
- Make file executable:
chmod +x runme.sh
- run the file from terminal
./runme.sh