Problems exporting PATH after modified.
Vikram Goyal
viki at bol.net.in
Mon Dec 15 14:06:52 UTC 2003
-----Original Message-----
From: "Jacques Escape" <deepspin at linuxmail.org>
Sent: Mon, Dec 15, 2003 at 01:38:43PM +0800
To fedora-list at redhat.com
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
More information about the fedora-list
mailing list