# getconf(1) - man - phpman

> **TLDR:** Get configuration values from your Linux system.
>
- List [a]ll configuration values available:
  `getconf -a`
- List the configuration values for a specific directory:
  `getconf -a {{path/to/directory}}`
- Check if the system is 32-bit or 64-bit:
  `getconf LONG_BIT`
- Check how many processes the current user can run at once:
  `getconf CHILD_MAX`
- List every configuration value and then find patterns with the `grep` command (i.e every value with MAX in it):
  `getconf -a | grep MAX`

*Source: tldr-pages*

---

[GETCONF(1)](https://www.chedong.com/phpMan.php/man/GETCONF/1/markdown)                                Debian GNU/Linux                                [GETCONF(1)](https://www.chedong.com/phpMan.php/man/GETCONF/1/markdown)



## NAME
       getconf - Query system configuration variables

## SYNOPSIS
       **getconf** -a

       **getconf** [**-v** **specification**] system_var

       **getconf** [**-v** **specification**] path_var pathname

## 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)](https://www.chedong.com/phpMan.php/man/sysconf/3/markdown) or
               [confstr(3)](https://www.chedong.com/phpMan.php/man/confstr/3/markdown).

### path_var

               A system configuration variable as defined by [pathconf(3)](https://www.chedong.com/phpMan.php/man/pathconf/3/markdown). This
               must be used with a pathname.


## AUTHOR
       _getconf_ was written by Roland McGrath for the GNU C Library

       This man page was written by Ben Collins <<bcollins@debian.org>> for the Debian GNU/Linux
       system.

## SEE ALSO
       [**sysconf**(3)](https://www.chedong.com/phpMan.php/man/sysconf/3/markdown), [**pathconf**(3)](https://www.chedong.com/phpMan.php/man/pathconf/3/markdown), [**confstr**(3)](https://www.chedong.com/phpMan.php/man/confstr/3/markdown)










3rd Berkeley Distribution                      squeeze                                    [GETCONF(1)](https://www.chedong.com/phpMan.php/man/GETCONF/1/markdown)
