3 May
2001
3 May
'01
11:58
scsijon wrote:
Most likely dumb but:
have written a simple script (script1) I want to run
i've used chmod +x script1 ro make it executable
when I attempt to run it i get the error:
"sh: ./script1: No such file or directory
I'm logged in as root, I can see and edit it, Why can't i run it?????????
as i said most likeley dumb but.....
If the first line contains #!, check that the program it points to actually exists. i.e. if your first line is #!/usr/bin/perl, check that /usr/bin/perl exists.
thanks in advance scsijon
Paul.