sysctl
SystemAdvanced In simulator In real LinuxView or change kernel parameters
Name: sysctl = system control
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
sysctl reads and changes kernel parameters at runtime, the same ones exposed under /proc/sys/. Values set with -w are lost on reboot; put them in /etc/sysctl.conf or /etc/sysctl.d/ to keep them.
Syntax
sysctl [OPTION]... [NAME[=VALUE]]Common options
| -a / --all | List all parameters |
| -n / --values | Print only values, not names |
| -w / --write | Set a parameter (until reboot) |
| -p / --load | Load from /etc/sysctl.conf |
| --system | Load the settings from every configuration directory (/etc/sysctl.d/ …) |