Why doesn’t the /etc/paths
file include the /usr/local/sbin
directory on macOS?
$ cat /etc/paths
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
I would have expected:
$ cat /etc/paths
/usr/local/bin
/usr/bin
/bin
/usr/local/sbin
/usr/sbin
/sbin
Note. — The /etc/paths
file is read by the /etc/profile
shell script to generate the PATH
environment variable.