<div dir="ltr"><div>Prior to mu sourcing .profile, those commands showed nothing. Once I ran . .profile, I get what I expected:<br><br>larry@hammerhead:~$ which killsol.sh<br>/home/larry/bin/killsol.sh<br>larry@hammerhead:~$ type killsol.sh<br>
killsol.sh is /home/larry/bin/killsol.sh<br>larry@hammerhead:~$ <br><br></div>so the question really comes down to why is .profile not being run on login (I already said I do not have the two files which might prevent it). This is Ubuntu 12.04 BTW.<br>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 6:50 AM, <span dir="ltr"><<a href="mailto:kitepilot@kitepilot.com" target="_blank">kitepilot@kitepilot.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Pls show the output of:<br>
which foo.sh<br>
or<br>
type foo.sh<br>
ET <br><div class="HOEnZb"><div class="h5">
<br>
<br>
Dazed_75 writes: <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I thought $PATH contained the series of paths searched to find an<br>
executable file by the name specified on the command line. Specifically if<br>
my $ENV contains a $PATH which reads: <br>
/home/larry/bin:<more paths> <br>
that an executable file like foo.sh found in /home/larry/bin/ could be run<br>
by simply typing foo.sh on the command line. What am I doing wrong as it<br>
does not work though it does if I type ./bin/foo.sh while in /home/larry/? <br>
-- <br>
Dazed_75 a.k.a. Larry <br>
Please protect my address like I protect yours. When sending messages to<br>
multiple recipients, use the BCC: (Blind carbon copy). Remove addresses<br>
from a forwarded message body before clicking Send.<br>
</blockquote></div></div><div class="HOEnZb"><div class="h5">
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dazed_75 a.k.a. Larry<br><br>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. <br>
</div>