sysctl.conf生效_使sysctl.conf更改生效而无需重新启动Linux()

sysctl.conf生效
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?
我对/etc/ sysctl .conf进行了一些更改。 我知道它将在下一次Linux启动时生效。 但是,如何使对sysctl.conf的更改在不重新引导Linux的情况下生效?
You can force Linux to reload the new configuration in /etc/sysctl.conf by: execute the following command as root:
您可以通过以下方式强制Linux重新加载/etc/sysctl.conf的新配置:以root用户身份执行以下命令:

sysctl -p

【sysctl.conf生效_使sysctl.conf更改生效而无需重新启动Linux()】For more details, check the manual of sysctl
有关更多详细信息,请参见sysctl的手册。
Answered by anonymous. 匿名回答。
翻译自: https://www.systutorials.com/make-changes-to-sysctl-conf-take-effect-without-rebooting-linux/
sysctl.conf生效

    推荐阅读