Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
linux/getconf Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 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`