Path settings

Jerry jerry at seibercom.net
Wed Apr 8 12:04:23 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.

I have "WITH_OPENSSL_PORT=yes" in the "/etc/make.conf" file if that makes any
difference.

-- 
Jerry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150408/c75e7dd9/attachment.sig>


More information about the freebsd-questions mailing list