I don't remember as I did it  long ago.  but when I type echo $PATH, what I get is:

/home/larry/bin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

does that mean I did? or if I need to export it, when and how often is it needed?


On Wed, Feb 26, 2014 at 9:26 PM, Carl Parrish <cparrish@carlparrish.com> wrote:

Did you export?

On Feb 26, 2014 8:18 PM, "Dazed_75" <lthielster@gmail.com> wrote:
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.

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
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.