LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-29-2006, 08:07 AM   #1
johnpaulodonnell
Member
 
Registered: Jun 2006
Location: Galway
Distribution: Suse 10.1
Posts: 114

Rep: Reputation: 15
$PATH edit query


Hi.

Using Suse 10.0 on an x86_64 machine.

I know how to add items to my $PATH in .bashrc, but how do I remove items from it? I've gotten rid of some software and would like to clean up the path.

Thanks,
John Paul
 
Old 08-29-2006, 08:12 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
All you do is remove the relevant directories from the "PATH=/some/dir:/another/dir:/yet/another/dir" line in your .bashrc.
 
  


Reply


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
How do I edit my path? Echo Kilo Linux - General 3 12-12-2004 02:50 PM
How to edit default PATH? davidas Linux - Newbie 2 03-20-2004 06:34 AM
How to edit the value of $PATH? ICO Slackware 1 02-07-2004 05:38 AM
Printing: how to see/edit docs in query. Mega Man X Linux - Software 3 07-29-2003 12:41 AM
query reg path dogma Linux - Newbie 1 06-08-2003 10:09 AM


All times are GMT -5. The time now is 11:02 PM.

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