executing Bash Scripts
I wrote a simple bash script but i can't run it, i named it mmm.sh
i typed ls to make sure am in right directory and i tried ./mmm and ./mmm.sh both tell me file not found. |
Quote:
|
I added 'chmod +x mmm.sh' at the end of the bash script but now when i run it './mmm.sh' it tells me permision denied
|
No, run "chmod +x mmm.sh" in the console, don't add it to the script. This will make the mmm.sh script executable.
|
All times are GMT -5. The time now is 01:33 AM. |