mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
getconf: add page (#9515)
* Create getconf.md * Apply suggestions from code review as submitter failed to address them * Fix syntax error * Update getconf.md * Update getconf.md
This commit is contained in:
parent
3f68143bce
commit
d2dbce839e
1 changed files with 24 additions and 0 deletions
24
pages/linux/getconf.md
Normal file
24
pages/linux/getconf.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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}}`
|
||||||
|
|
||||||
|
- Check if your linux system is a 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`
|
Loading…
Add table
Reference in a new issue