Re: Problems exporting PATH after modified.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: "Jacques Escape" <deepspin@xxxxxxxxxxxxx>
Sent: Mon, Dec 15, 2003 at 01:38:43PM +0800
To fedora-list@xxxxxxxxxx
Subject: Problems exporting PATH after modified.


> Hi,
> 
> I'm having some problems exporting the PATH environmental variable after I have modified it in the Terminal that comes with KDE.
> 
> What I do is I modify the PATH variable, and then export it. After this when I call "echo $PATH" the output displays the new modified string. BUT as soon as I log-out and log-in again the new modified PATH is gone and replaced by the original.
> 
> Please HeLp. I have consulted a number of books and nowhere have I found anything relating to this problem, except that one must export a variable in order to make it global.
> 
> thanX in advance for any help given.
> 
> Jacques
> 
> P.S.: I'm a real newbie ;-)

You are not saving the new variable value i.e after logout and login you
get the old value.
save your new value to path in your ~/.bash_profile

PATH=$PATH:new value
export PATH

HTH.
-- 
vikram...
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Thus My Computer Chittered :
~~~~~~~~~~~~~~~~~~~~~~~~~~
Children seldom misquote you.  In fact, they usually repeat word for
word what you shouldn't have said.
-- 
 O
~|~
 =
Registered Linux User #285795




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux