mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
sysctl: add generic examples (#22810)
This commit is contained in:
@@ -19,6 +19,14 @@
|
||||
|
||||
`sysctl fs.file-max`
|
||||
|
||||
- Get the value of any runtime variable:
|
||||
|
||||
`sysctl {{variable_name}}`
|
||||
|
||||
- Print only the value without the variable name:
|
||||
|
||||
`sysctl {{[-n|--values]}} {{variable_name}}`
|
||||
|
||||
- Apply changes from `/etc/sysctl.conf`:
|
||||
|
||||
`sysctl {{[-p|--load]}}`
|
||||
|
||||
Reference in New Issue
Block a user