Linux Commands Examples

A great documentation place for Linux commands

getconf

Query system configuration variables

Synopsis

getconf -a

getconf [-v specification] system_var

getconf [-v specification] path_var pathname


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

1
source
            
CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` \
make-kpkg --initrd --append-to-version=-n2600 kernel_image kernel_headers

description

-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).

path_var

        A system configuration variable as defined by pathconf(3). This
        must be used with a pathname.

see also

sysconf, pathconf, confstr


author

getconf was written by Roland McGrath for the GNU C Library

This man page was written by Ben Collins <bcollins[:at:]debian[:dot:]org> for the Debian GNU/Linux system.

How can this site be more helpful to YOU ?


give  feedback