Make changes to sysctl.conf take effect without rebooting Linux?

I made some changes to /etc/sysctl.conf. I know it will take effect next time Linux boots. However, how to make the changes to sysctl.conf take effect without rebooting Linux?

You can force Linux to reload the new configuration in /etc/sysctl.conf by: execute the following command as root:

sysctl -p

For more details, check the manual of sysctl

Leave a Reply

Your email address will not be published. Required fields are marked *