Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2009, 01:54 PM   #1
LQ Newbie
Registered: Aug 2009
Location: Trondheim, Norway
Distribution: RHEL4
Posts: 2

Rep: Reputation: 0
Question Possible locations of X $PATH defaults

Yes, this IS my first post, so please be gentle to me...

I am running RHEL4 with Gnome. As I was redoing my setup environment I noticed a lot of paths in my $PATH variable that should not be there. Further trace revealed that they were there already before any .cshrc was executed, which is where I (want to) define my $PATH. This always happens when I start a new terminal window with a rightclick->open terminal in Gnome. But (as far as I can see) not when I start a new terminal "textually" without involving X.

OK, so X environment has its own PATH, is that a problem?
For me it is, because somehow application-specific paths that point to old and no longer existing version of software are in there. That should not be. So I need to edit them away.

And now, the question: Which are the possible locations/files where such a setting could take place?
I have not been able to find it.

Any tips most welcome!

Best regards, Lars
Old 08-07-2009, 06:58 AM   #2
Registered: Jul 2009
Location: Lexington, Kentucky, USA
Distribution: Slackware
Posts: 37
Blog Entries: 4

Rep: Reputation: 1
The first answer in the following thread may be of help:

Old 08-07-2009, 10:52 AM   #3
LQ Newbie
Registered: Aug 2009
Location: Trondheim, Norway
Distribution: RHEL4
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for these tips, Stureedy.
Unfortunately none of them helped. BTW, I'm running csh.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Locations Yull29m Linux User Groups (LUG) 3 01-13-2007 03:01 PM
Application locations? nthnmsnr Linux - Newbie 4 07-22-2005 09:38 AM
Defaults? aethiolas Linux - Newbie 2 12-21-2004 06:31 AM
crontab locations Red Squirrel Linux - Software 4 09-23-2004 07:51 PM
Defaults Lostman Linux - Newbie 5 11-04-2003 06:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration