System Control

From 6bit.ch wiki
Revision as of 11:46, 25 November 2022 by Xbl (talk | contribs) (→‎Settings)
Jump to navigation Jump to search

sysctl

Reads/sets kernel settings from the virtual /proc file system.
Values can be edited directly with echo 1/0 >> /proc/net/ipv6/conf/all/disable_ipv6 or by editing /etc/sysctl.conf or /etc/sysctl.d/parameter.

Settings

sysctl -a list all settings
sysctl -a | grep net.ipv6.conf.all.disable_ipv6 list specific setting
sysctl net.ipv6.conf.all.disable_ipv6 list specific setting
sysctl -w parameter=value change $parameter to $value (fleeting)
sysctl -p reload settings