I am trying to edit my .bash_profile file to have it include my priavte bin (/home/greg/bin) but each time I try to execute my test command it says it was not found. I made the portion of the file look like this:
Code:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=:"~/bin:${PATH}"
fi
but that didn't work, and neither did
Code:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=:"~/bin"
fi
I also tried using '/home/greg/bin' instead of '~/bin' but that didn't work either. What am I doing wrong?
Thanks,
~Greg