Linux "getconf" Command Line Options and Examples
Query system configuration variables

-a Displays all configuration variables for the current system and their values. -v Indicate the specification and version for which to obtain configuration variables. system_var A system configuration variable, as defined by sysconf(3) or confstr(3).


Usage:

getconf -a


    getconf [-v specification] system_var


    getconf [-v specification] path_var pathname




Command Line Options:

-a
Displays all configuration variables for the current systemand their values.
getconf -a ...
-v
Indicate the specification and version for which to obtainconfiguration variables.system_varA system configuration variable, as defined by sysconf(3) orconfstr(3).path_varA system configuration variable as defined by pathconf(3). Thismust be used with a pathname.AUTHORgetconf was written by Roland McGrath for the GNU C LibraryThis man page was written by Ben Collins <bcollins@debian.org> for the Debian GNU/Linux system.
getconf -v ...