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/bashfor Python scripts, this would be -
#!/usr/bin/pythonSave the script.
Still in the terminal window, run this -
chmod +x {name of script}
 
No comments:
Post a Comment