From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8d0eabe3e77b76dd X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-04-02 17:22:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 24.86.181.69 Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 References: From: samwise_gamgee@babs.hammerdog.org (Samwise Gamgee) Subject: Re: Rookie Path question Newsgroups: comp.unix.tru64 Content-Type: text/plain; charset=us-ascii Message-ID: Date: Thu, 03 Apr 2003 01:22:41 GMT NNTP-Posting-Host: 24.70.95.207 X-Complaints-To: abuse@shaw.ca X-Trace: news2.calgary.shaw.ca 1049332961 24.70.95.207 (Wed, 02 Apr 2003 18:22:41 MST) NNTP-Posting-Date: Wed, 02 Apr 2003 18:22:41 MST Organization: Shaw Residential Internet Xref: archiver1.google.com comp.unix.tru64:9790 In article , 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