Forrest logo
back to the sysctl tool

sysctl:tldr:f75f8

sysctl: Apply changes from `/etc/sysctl.conf`.
$ sysctl -p
try on your machine

The command "sysctl -p" is used to apply changes made in the system's networking configuration files without having to reboot the system.

In Unix-like operating systems, the sysctl command is used to view, modify, or configure kernel parameters at runtime. These parameters are stored in a hierarchical structure called the sysctl tree.

When changes are made to the system's networking configuration files (such as /etc/sysctl.conf or /etc/sysctl.d/*.conf), they are not automatically applied. Instead, the sysctl -p command is used to load and apply these configuration changes.

By running "sysctl -p", the changes specified in the networking configuration file(s) are read and applied by the kernel. This command is typically used after modifying network-related parameters to make them take effect immediately, without needing to restart the system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the sysctl tool