.sh
Solved
Anonymous user
-
lami20j Posted messages 21506 Registration date Status Modérateur, Contributeur sécurité Last intervention -
lami20j Posted messages 21506 Registration date Status Modérateur, Contributeur sécurité Last intervention -
Hello,
How to make a .sh executable please?
Whether I use chmod or not (unless there's a chmod error) I get a: bash: xxxx.sh: command not found
Thanks for your insights
How to make a .sh executable please?
Whether I use chmod or not (unless there's a chmod error) I get a: bash: xxxx.sh: command not found
Thanks for your insights
Configuration: Windows XP Internet Explorer 7.0
4 réponses
For more details, look at http://www.commentcamarche.net/faq/sujet 4627 executing a shell script
--
106485010510997108
--
106485010510997108
Indeed, it works... But what I'm looking for is a way to avoid typing unnecessary syntax, so typing 'script.sh', or even just 'script' would be sufficient. I think it's feasible, I used to do it on another distribution
right?
right?
Hello,
Rule n° 1: Read the links that are provided carefully!!!
Example message #2!
;-))
--
JP - Penguin breeder -
Do something for the environment, close your windows and adopt a penguin.
Rule n° 1: Read the links that are provided carefully!!!
Example message #2!
;-))
--
JP - Penguin breeder -
Do something for the environment, close your windows and adopt a penguin.
Everything is here http://www.commentcamarche.net/faq/sujet 4627 run a shell script#3 modify the path variable
--
106485010510997108
--
106485010510997108
-> command not found.
Yet if I do 'sh file.sh' it works.