If you want to change the path (I presume you mean the path search for executables) for a normal user then there are usually files in the home dir of that user you can edit /home/username/.bashrc and /home/usernalme/.bash_profile. Look for a line something like this:
export PATH=$PATH:/usr/X11R6/bin:/usr/local/bin:/sbin
you just add to it like this:
export PATH=$PATH:/usr/X11R6/bin:/usr/local/bin:/sbin:/path/to/newdirectory
For root look for the files in /root
For system wide settings look in /etc , but the names of the files and location vary by distro. Try /etc/profile and /etc/bashrc
Last edited by kevinalm; 12-11-2004 at 10:41 PM.
|