Date: Fri, 09 Sep 2005 15:01:25 -0400 From: bob self <bobself@charter.net> To: freebsd-questions@freebsd.org Subject: Can't execute a script Message-ID: <4321DC05.3050509@charter.net>
next in thread | raw e-mail | index | archive | help
I have a simple test script called 'scripttest' in /root/bin: -rwxr-xr-x 1 root wheel 121 Sep 9 14:55 scripttest my $PATH IS /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:*/root/bin* #!/bin/sh echo "pinging...." #end of scripttest If I run "which scripttest", I get /root/bin/scripttest But if I try to run this test script I get "scripttest: Command not found." Why is that happening? thanks, Bob Self
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4321DC05.3050509>