On Sunday, 7 November 2004 01.45, Rikard Johnels wrote:
I tried deducting the file to use by trying to locate the current path. But i didn't succeed. Where is the default path set?
It's set in /etc/profile, the section of code looks like this PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin if test "$HOME" != "/" ; then for dir in $HOME/bin/$CPU $HOME/bin ; do test -d $dir && PATH=$dir:$PATH done fi test "$UID" = 0 && PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH for dir in /var/lib/dosemu \ /usr/games \ /opt/bin \ /opt/gnome/bin \ /opt/kde3/bin \ /opt/kde2/bin \ /opt/kde/bin \ /usr/openwin/bin \ /opt/cross/bin do test -d $dir && PATH=$PATH:$dir done unset dir export PATH