Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2005 13:41:54 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        bob self <bobself@charter.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't execute a script
Message-ID:  <6.2.3.4.2.20050909134009.09448b40@cobalt.antimatter.net>
In-Reply-To: <4321E75E.1020801@charter.net>
References:  <4321DC05.3050509@charter.net> <6.2.3.4.2.20050909123028.095fce00@cobalt.antimatter.net> <4321E75E.1020801@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20050909134009.09448b40>