enclair wrote:
Hi,

By default in Fedora /usr/local/bin is before /usr/bin
Where is it defined?
In /etc/profile, only /usr/local/sbin is set.

You can check .bash_profile and .bashrc I forget where it is by default since I set things a bit myself. I have a site wide NFS mounted filesystem with lots of stuff in that, so my path setting is somewhat complex. In order of priority, arch=$(uname -m):
  ${HOME}/bin/${arch}           user personal versions
  /usr/local/${arch}            machine local
  /opt/bin                      machine local
  /common/bin/${arch}           site local
then the rest of what was set by default.

NOTE: my PATH *never* includes "." to prevent accidental running of something I never intended. The PATH setting is called from .bashrc, macros and aliases are only defined for interactive shells, not scripts.

--
Bill Davidsen <david...@tmr.com>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to