Hi. If I want to append say a directory to PATH just while I am in an xterm how do I set the PATH?
I did this to add /home/bin to my PATH
PATH=/home/bin
and then things like 'ls' etc didn't work. I understand WHY they didn't work was because PATH was changed to only '/home/bin'.
someone had something like this to set PATH on the fly at the prompt
It isn't correct but it's as close to what I can remember as I can't find
where I read it. Basically the {PATH} part is a shortcut to retyping the entire
old path when appending the new one.
PATH={PATH}:/home/brian
thanks
