Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st July 2009, 03:51 PM
andysuth Offline
Registered User
 
Join Date: Jan 2009
Posts: 2
$Path in fedora 8

I used the command:

PATH=$PATH:/opt/lum/ls/os/linux/bin/;export PATH

in terminal to add that path to the path command, but every time I leave the terminal window and check it again with

echo $PATH

It is no longer in there.

I make sure it works first time and it does, but it always "resets" when I reopen the window.

Can anyone tell me how to permanently add that path to my path file?

(all performed logged on as "Root")

-Andy
Reply With Quote
  #2  
Old 21st July 2009, 04:02 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
Manually add it to your .bash_profile file in your home folder.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 21st July 2009, 10:39 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Glenn gave you the answer as to how--but to add a bit of explanation, even though you're exporting it, it's only for that one shell session in that one terminal. If you, while in the same terminal, then type xterm to open another terminal, THAT second terminal would have the desired PATH.

Each terminal spawns a session, so, once you close that terminal, that session and anything you've exported in it, is gone.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
Reply

Tags
$path, fedora

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
Is there an Ubuntu-like upgrade path for Fedora 8? DLLarson Installation and Live Media 1 12th November 2007 03:15 PM
Configure path for Fedora necrosis Using Fedora 4 28th October 2007 08:46 PM
Where is my Kernel Path in Fedora Core 5?!?!? Titanas Using Fedora 11 1st June 2006 10:16 AM
On the dangers of straying from the Fedora path tonyingesson Linux Chat 5 1st May 2006 05:17 PM


Current GMT-time: 04:26 (Thursday, 23-05-2013)

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