Possible Duplicate:
How do I run .sh files in Terminal?
When I try to run a .sh script in Terminal it says I have no permissions to do that. And when I try to run an executable nothing happens at all!
Possible Duplicate:
How do I run .sh files in Terminal?
When I try to run a .sh script in Terminal it says I have no permissions to do that. And when I try to run an executable nothing happens at all!
ls -l
while on the script's folder and any further steps you tried and what errors you get when trying to run the script. Add that information to the question instead of adding it as a comment. – Bruno Pereira Dec 25 '11 at 12:15ls -l script.sh
, and a first line of your script. – Andrejs Cainikovs Dec 25 '11 at 18:55