LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2003, 12:09 PM   #1
haus
LQ Newbie
 
Registered: Jan 2003
Location: Maine
Distribution: Red Hat 8.0
Posts: 1

Rep: Reputation: 0
Help Me


I need help. I need to know how to remove things from my $PATH. What I did was:

PATH=$PATH:/usr/sbin
export $PATH

I didn't realize this was in my $PATH already. How do I get it out of there?
 
Old 01-29-2003, 12:26 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Logout and back in would do it, since you didn't edit your .bashrc or .profile files. But there's no need to remove it if its already in your PATH, it won't hurt any.

And next time use more helpful thread titles besides " Help Me ".
 
  


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 On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 AM.

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