$PWD

Subba Rao subb3 at ibm.net
Wed Jul 28 16:18:18 EDT 1999


I am running Slackware 4.0. As root, I specifically did mention in the /etc/profile
not to include "." in $PWD.


# Set the default system $PATH:
PATH="$PATH:$OPENWIN:/usr/bin/X11:/usr/local/Acrobat4/bin"

# For non-root users, add the current directory to the search path:
if [ ! $UID = 0 ]; then
 PATH="$PATH:."
fi

Yet, I can excute the programs in the current directory. When I run "echo $PATH", the "."
does not appear in the list.

Does anyone know where the problem is? I do not have any local rc files that make such
changes.

Thank you in advance.

Subba Rao
subb3 at ibm.net
==============================================================
Disclaimer - I question and speak for myself.

http://pws.prserv.net/truemax/
______________________________________________________________


-
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