Fedora Linux Support Community & Resources Center
  #1  
Old 10th January 2009, 01:19 AM
KhaiPi Offline
Registered User
 
Join Date: Jun 2006
Location: Sydney, Australia
Age: 50
Posts: 123
[n00b] How do I modify my path?

I want to add some directories to my command path but I can't work out how to do it. I would like it so it is set each time I log in.

I have tried:

set PATH=$PATH;<new_directory>

but it didn't work.

Sorry for the dumb question.

KP
Reply With Quote
  #2  
Old 10th January 2009, 01:26 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
you need a colon, not a semicolon and remove the word set. If you are resetting your path temporarily, use export instead of set. If you want to do it permenantly, edit your .bash_profile file in your home directory.

Last edited by daverj; 10th January 2009 at 01:29 AM.
Reply With Quote
  #3  
Old 10th January 2009, 01:33 AM
KhaiPi Offline
Registered User
 
Join Date: Jun 2006
Location: Sydney, Australia
Age: 50
Posts: 123
Thanks for the rapid response - works perfectly!

KP
Reply With Quote
Reply

Tags
modify, n00b, path

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add path /usr/local/bin/lftp to user path nix4me Using Fedora 6 18th August 2010 12:31 AM
Firefox path for n00b sinbad Using Fedora 2 11th March 2008 02:09 AM
NEWBIE needs to modify path i bigfootnmd Using Fedora 1 5th November 2004 03:58 AM


Current GMT-time: 13:45 (Friday, 22-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat