Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Suse/Novell This Forum is for the discussion of Suse Linux.


Search this Thread
Old 11-12-2004, 04:56 PM   #1
Registered: Apr 2004
Location: Greece
Distribution: Debian Etch/Sid-Gentoo
Posts: 56

Rep: Reputation: 15
How to add a directory to PATH permantely

Hi all does anyone know how can i add a directory to PATH permanently.I use for instance i want java_vm in my PATH which is in /usr/lib/SunJava2-1.4.2/jre/bin so i type in a console
export PATH="$PATH:/usr/lib/SunJava2-1.4.2/jre/bin"
and that work for that type.How about add it permanently?
Old 11-12-2004, 04:58 PM   #2
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
do you use bash? put that code in your .bashrc file


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add path to @INC deus1 Linux - Software 0 07-27-2005 08:52 AM
How to rsynce the actual directory path instead of just the directory at the end of Niceman2005 Linux - General 5 04-08-2005 08:58 PM
I need to add a directory to the search path johnjafa Linux - Software 1 01-06-2005 02:43 PM
add man path alaios Linux - General 2 03-14-2004 10:45 PM
How do I add something to my $PATH? iammeuno Linux - Software 1 12-18-2003 05:02 PM

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration