Solve the need to resource /etc/profile every time you enter the command

Add the following code
vim ~/.bashrc in the ~/.bashrc file and add
it in the last line

source /etc/profile

Guess you like

Origin blog.csdn.net/Fengfgg/article/details/113591164