![]() |
shell scripts not working
i am trying to write a simple shell script but for some reason this fails to execute and always gives me a "-sh: abc.sh: not found" message.
I finally changed the permissions on the script to 777 and left it as an empty script with only the #!/bin/sh line but it yet fails with the same message! has anyone else experienced this? |
Re: shell scripts not working
You need to write "./abc.sh" or "sh abc.sh"
|
All times are GMT. The time now is 04:13. |
vBulletin® Version 3.8.8