Path

Harald Hanche-Olsen hanche at math.ntnu.no
Tue Sep 29 20:07:50 PDT 2009


+ Ryan Schmidt <ryandesign at macports.org>:

> Bash might look in one of several files for its initialization
> instructions. These files are called .profile, .bash_profile, .bashrc,
> .login, and .bash_login, and would be directly in your home
> directory. Which of those files do you have, and what is their
> contents?

There is also the system-wide /etc/profile, which reads path elements
from /etc/paths and individual files in /etc/paths.d/. I have a file
/etc/paths.d/macports which contains /opt/local/bin. I don't think I
am the one who put it there?

- Harald


More information about the macports-users mailing list