Set Environment Variable
Dogmeat
ulist at gs1.ubuntuforums.org
Sun Jul 10 02:22:17 UTC 2005
like this:
Code:
--------------------
PATH=$PATH:~/bin
--------------------
To make it permanent, you should add this line to .bashrc, which is in
your ~!
EDIT: About Steve's post: I have a ~/bin folder and .bash_profile
didn't add ~/bin to the folder. However, .bash_profile is there and has
the code, it just isnt being executed:
Code:
--------------------
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
--------------------
--
Dogmeat
More information about the ubuntu-users
mailing list