maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   shell scripts not working (https://talk.maemo.org/showthread.php?t=59757)

sidnskid 2010-08-04 20:24

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?

ToJa92 2010-08-04 20:35

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