View Single Post
Old 08-04-2014, 08:12 AM   #24
Senior Member
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,125

If you are logged into your user account then you should be able to edit your .bashrc file by using an appropriate text editor such as pico/nano by doing

$ pico ~/.bashrc
After you add the export line the .bashrc remember to save the file and then source it.

$ source ~/.bashrc
or you could log out and then log back in again (when the .bashrc would be re-read). Using "source" command allows you to read the profile without having to log out then in.

Last edited by GenoMax; 08-04-2014 at 08:16 AM.
GenoMax is offline   Reply With Quote