LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Editing .bashrc

[ILUG] Editing .bashrc

Brian Shields brian.shields at geminga.it.nuigalway.ie
Thu Apr 15 14:00:36 IST 2004


Hi all,
I am new to Linux so you will have to excuse my asking what are probably
silly questions. I am trying to edit the $PATH variable in my ~/.bashrc
file to include the $J2EE_HOME/bin directory. I am running into 2
problems:
1) When i try and force the changes to .bashrc by running source
.bashrc, the new entries are being added to $PATH but older ones, that
have been removed during last edit, are not. It is not until i log out
and back in again that these changes are recognised. Is this normal?

2) when i do include the $J2EE_HOME/bin directory i use the command
export PATH=${J2EE_HOME}/bin:${PATH}
When i source .bashrc my $PATH now begins with
/usr/local/bin/j2sdkee1.3.1/bin. This is correct. However when i log out
and back in my original PATH now begins with
/usr/local/bin/j2sdkee1.3.1/bin:/usr/local/bin/j2sdkee1.3.1/bin:/usr/local/bin/j2sdkee1.3.1/bin Any simple explanations for this?

Thanks,
Brian.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell