$PATH question

Dazed_75 lthielster at gmail.com
Wed Feb 26 21:18:31 MST 2014


I thought $PATH contained the series of paths searched to find an
executable file by the name specified on the command line.  Specifically if
my $ENV contains a $PATH which reads:

/home/larry/bin:<more paths>

that an executable file like foo.sh found in /home/larry/bin/ could be run
by simply typing foo.sh on the command line.  What am I doing wrong as it
does not work though it does if I type ./bin/foo.sh while in /home/larry/?

-- 
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
from a forwarded message body before clicking Send.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140226/c65a6006/attachment.html>


More information about the PLUG-discuss mailing list