olivier.nicole at cs.ait.ac.th
Wed Apr 8 12:14:47 UTC 2015
> I have never understood which comes first in the path setting; "/usr/bin"
> or "/usr/local/bin". The same can be said for "/usr/sbin"
> and /usr/local/sbin".
> The reason I am asking is because I have "openssl" installed from ports. If I
> have the former path setting and run "which openssl", the system openssl is
> reported. However, if I switch the path setting to the latter, and rerun the
> command, the port version of openssl is revealed.
which will try the various path and report the first occurence it finds.
So /usr/bin:/usr/local/bin will find openssl in /usr/bin first and
/usr/local/bin:/usr/bin will find openssl in /usr/local/bin first.
It all depends on what you intend to do.
> I have "WITH_OPENSSL_PORT=yes" in the "/etc/make.conf" file if that makes any
More information about the freebsd-questions