3

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!

FLYBAT
  • 31
  • You can start by adding to the question the commands you are using to run it on a terminal, the output of 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:15
  • chmod +x a.sh; ./a.sh (make it executeable first). –  Dec 25 '11 at 12:45
  • That's a hard guessing game. First, provide the output of ls -l script.sh, and a first line of your script. – Andrejs Cainikovs Dec 25 '11 at 18:55

0 Answers0