If you want to change it temporarily, use the following:
Code:
export PATH=$PATH:/new/directory/to/add
To make the change permanent, add the above line to ~/.bashrc. If you want to make the changes for all users, add the line (as root) to /etc/profile. To see the changes after editing these files, run the command
I hope this helps
--Ian