[ALUG] Re: executable script gives error "file not found"
Jenny Hopkins
hopkins.jenny at gmail.com
Tue Nov 28 11:54:25 GMT 2006
On 28/11/06, cl at isbd.net <cl at isbd.net> wrote:
> It sounds as if the #! at the beginning of the script is pointing at
> the wrong location for bash (or at least a wrong location for
> something).
>
> Look at the first line of /home/balloon/bin/balloon-audio-off and see
> if what it points at exists (and is executable) on the system where it
> fails to run.
>
Thanks, Chris.
I can't see inside the file, but I did do a 'which bash' on the new
box and on the one on which the script runs, and both return the same:
balloon at capirossi:~/bin$ which bash
/bin/bash
ls -l /bin/bash
-rwxr-xr-x 1 root root 729640 2005-05-02 23:39 /bin/bash
Is this an adequate test?
Thanks,
Jenny
More information about the main
mailing list