$PWD
Subba Rao
subb3 at ibm.net
Wed Jul 28 17:53:54 EDT 1999
Thank you for replying. Is this a BASH shell feature?
Subba Rao
subb3 at ibm.net
==============================================================
Disclaimer - I question and speak for myself.
http://pws.prserv.net/truemax/
______________________________________________________________
On Wed, 28 Jul 1999 17:24:43 -0400 (EDT), Derek Martin wrote:
>On Wed, 28 Jul 1999, Subba Rao wrote:
>
>> Yet, I can excute the programs in the current directory. When I run "echo $PATH", the "."
>> does not appear in the list.
>
>There are several possibilities. When bash starts, it sources
>$HOME/.bash_profile if it is a login shell, or $HOME/.profile if
>.bash_profile doesn't exist. Also all interactive bash shells (login or
>not) source /etc/bashrc and $HOME/.bashrc whenever a new copy of bash
>starts.
>
>Check these files. Also, many people do not realize that if the path
>statement ends in a colon, it has the same effect as including . in your
>path, i.e.
>
>PATH=/bin:
>
>is the same as
>
>PATH=/bin:.
>
>
>
>
>Derek D. Martin | UNIX System Administrator
>d_martin at worldnet.att.net | dmartin at lancity.com
>
>
-
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