macOS / binaries /

getconf

/usr/bin/getconf
Retrieve standard configuration variables

The getconf utility prints the values of POSIX or X/Open path or system configuration variables to the standard output. If a variable is undefined, the string “undefined” is output.

source: man