source ~/.bash_profile配置文件在修改后立即生效

~ 这个符号表示你的家目录,
.bash_profile 是一个隐藏文件,主要是用来配置bash shell的,
source ~/.bash_profile 就是让这个配置文件在修改后立即生效。
原文地址:https://www.cnblogs.com/zhanglin123/p/14436918.html