$PWD

John Abreau jabr at blu.org
Wed Jul 28 17:33:57 EDT 1999


On Wed, 28 Jul 1999, Subba Rao wrote:

> # Set the default system $PATH:
> PATH="$PATH:$OPENWIN:/usr/bin/X11:/usr/local/Acrobat4/bin"
>....
> Yet, I can excute the programs in the current directory. When I run
> "echo $PATH", the "." does not appear in the list.

A null path entry is synonymous with "."; if PATH was :/bin:/usr/bin, then
the leading ":" puts "." as the first thing in your PATH. Similarly, if
PATH was /bin::/usr/bin then "." is in your PATH, right after /bin and
before /usr/bin.

I'm guessing that $OPENWIN is undefined, and this is giving you the "::"
in your PATH.

--
John Abreau / Executive Director, Boston Linux & Unix 
Email: jabr at blu.org / URL: http://www.blu.org
ICQ#28611923 / AIM abreauj
-----------------------------------------------------------------------
"Those not competing for alpha geek status usually don't like being
encrusted with electronic barnacles everywhere they go."
-----------------------------------------------------------------------

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list