Modify the configuration file does not restart to take effect

We often need to modify some configuration files in a production system but do not want to reboot the host system or
we can use the following method

[root@localhost ~]# source -/.bashrc

[raot@localhost ~]#. ~/.bashrc

. "" Symbol is equivalent to the same command source usage.

Guess you like

Origin blog.csdn.net/tang3827738w/article/details/92386347