Hope you're all ready for a really newbie path question. I added ~/bin to my path to hold some shell scripts I've been writing and it has been added to my path, but I do the following, I get this error:
[dishawjp@eunix dishawjp]$ $PATH
bash: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dishawjp/bin: No such file or directory
[dishawjp@eunix dishawjp]$
All those directories do seem to exist, so why do I get the message? And ~/bin IS in my path since I can execute my shell scripts from any working directory.
It's not a real problem, but the error message is puzzling.
<edit>
I added it to my path by editing my .bash_profile as shown below
[dishawjp@eunix dishawjp]$ more .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
and to prove that it really does exist:
[dishawjp@eunix dishawjp]$ cd bin
[dishawjp@eunix bin]$ pwd
/home/dishawjp/bin
[dishawjp@eunix bin]$
</edit>
Jim Dishaw


