Can't execute a script
Glenn Dawson
glenn at antimatter.net
Fri Sep 9 13:42:16 PDT 2005
At 12:49 PM 9/9/2005, bob self wrote:
>Glenn Dawson wrote:
>
>>Assuming you're using csh, did you rehash after creating the script?
>>Did you try to execute it with it's full path? like:
>>/root/bin/scripttest
>>
>>-Glenn
>Yes, I did 'rehash'. I'm running tcsh as root, FreeBSD 6.0.
>
>Also, I ran "/root/bin/scripttest" and I still get "command not found".
with such a simple script, there's not much that can go wrong, but
you'll see the same error message if the shell specified at the
beginning of the script doesn't exist.
-Glenn
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list