Three, Linux_ environment variable

Environment variable configuration:

# Each time you enter a command to be re-source / etc / profile to take effect?

# Solution: environmental variables into ~ / .bashrc file

$ Vim ~ / .bashrc # add the relevant environmental variables inside 

$ source ~ / .bashrc # configuration to take effect

 

 

Guess you like

Origin www.cnblogs.com/liaowuhen1314/p/11815050.html