The
getconf utility writes the current value of a configurable system limit or option variable to the standard output.
The
system_var argument specifies the system variable to be queried. The names of the system variables are from
sysconf(3) with the leading “
_SC_” removed.
The
path_var argument specifies the pathname variable to be queried for the specified
pathname argument. The names of the pathname variables are from
pathconf(2) with the leading “
_PC_” removed.
When invoked with the option
-a,
getconf writes a list of all applicable variables and their values to the standard output, in the format “
name =
value”.