In the terminal window, startup your editor (e.g. gedit) and open the bash file.
Put this on the first line of the script
#!/bin/bash
for Python scripts, this would be -
#!/usr/bin/python
Save the script.
Still in the terminal window, run this -
chmod +x {name of script}
No comments:
Post a Comment