From: samwise_gamgee@babs.hammerdog.org (Samwise Gamgee)
Subject: Re: Rookie Path question
Date: Thu, 03 Apr 2003 01:22:41 GMT [thread overview]
Message-ID: <B1Mia.365095$na.28066291@news2.calgary.shaw.ca> (raw)
In-Reply-To: a4e7ed0e.0304020742.ed80661@posting.google.com
In article <a4e7ed0e.0304020742.ed80661@posting.google.com>,
djsimmers@netscape.net (web_djs) writes:
> Ok, TRU64 newbie here. I am finding that after my profile runs my
> path is full of crap I don't want/need. Since I can't figure out
> where it's coming from, how do I clear my path?
It may depend on your shell. There is a file called .login most likely
in your home directory or /etc that will have your path set. It will
look like this:
PATH=$HOME/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11/bin:.
export PATH
This is the path for a bourne type shell, sh, bash, ksh. You will see
something like this for csh in a file called .cshrc:
set path = (. /sbin /usr/sbin /usr/bin /usr/bin/X11 )
You can edit the file apropriate for your shell to change it. You may
also have .bash_profile or another file that may have a path set in it.
You can search for PATH or path in any .filename file.
HTH,
Sam
prev parent reply other threads:[~2003-04-03 1:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-02 15:42 Rookie Path question web_djs
2003-04-03 1:22 ` Samwise Gamgee [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox