2023-01-11 11:27:42 +00:00
|
|
|
# getconf
|
|
|
|
|
|
|
|
> Get configuration values from your Linux system.
|
|
|
|
> More information: <https://manned.org/getconf.1>.
|
|
|
|
|
|
|
|
- List [a]ll configuration values available:
|
|
|
|
|
|
|
|
`getconf -a`
|
|
|
|
|
|
|
|
- List the configuration values for a specific directory:
|
|
|
|
|
|
|
|
`getconf -a {{path/to/directory}}`
|
|
|
|
|
2024-02-01 20:04:38 +00:00
|
|
|
- Check if the system is 32-bit or 64-bit:
|
2023-01-11 11:27:42 +00:00
|
|
|
|
|
|
|
`getconf LONG_BIT`
|
|
|
|
|
|
|
|
- Check how many processes the current user can run at once:
|
|
|
|
|
|
|
|
`getconf CHILD_MAX`
|
|
|
|
|
pages*: fix brand and technical names (#12145)
* pages*: fix Python, Java, pacman, apt, *zip*, xz, tar, git, RPM and grep names
* pages*: fix brand and technical names
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
* fluxctl, gitmoji, in-toto-run, osv-scanner: replace `git` with Git
* bzegrep: enclose egrep with backticks
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-force-clone: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* gitwatch: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* hub-init: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* pages.*: use Linux instead of GNU/Linux
---------
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-30 04:46:32 +00:00
|
|
|
- List every configuration value and then find patterns with the `grep` command (i.e every value with MAX in it):
|
2023-01-11 11:27:42 +00:00
|
|
|
|
|
|
|
`getconf -a | grep MAX`
|