To display your PATH variable, at a command-line, type:
echo $PATH
To edit your PATH variable, open a text editor, then open the .bash_profile file in your home directory. You should see a line like:
PATH=$PATH:$HOME/bin
Change that line to include what you want. If, for instance, you wanted to include /usr/local/test/bin to the path, change the above line to:
PATH=$PATH:$HOME/bin:/usr/local/test/bin
Save the file, log out, and log back in.
|