PDA

View Full Version : change PATH and home diretory



IPfreely
02-15-2004, 08:18 PM
hey all :)

newb here i'm getting really frustrated! i created a persistant directory so i can install programs but where is the directory i just created??

all i want to do is change my PATH so i can run a program - where is that????? i know it's in my bash profile or something but the one i found won't let me save/modify it

thanks a bunch,
IPfreely

Dave_Bechtel
02-19-2004, 05:16 AM
Changing PATH - edit these files in your home directory; these are my settings:

.bash_login:
export PATH=~/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games

.bashrc:
export PATH=~/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games

--You may have to "bounce" your login session to get the changes (logout/login again.)


hey all :)

newb here i'm getting really frustrated! i created a persistant directory so i can install programs but where is the directory i just created??

all i want to do is change my PATH so i can run a program - where is that????? i know it's in my bash profile or something but the one i found won't let me save/modify it

thanks a bunch,
IPfreely