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

~ 这个符号表示你的家目录,
.bash_profile 是一个隐藏文件,主要是用来配置bash shell的,
source ~/.bash_profile 就是让这个配置文件在修改后立即生效。
posted @ 2021-02-23 16:48  rjm123456  阅读(502)  评论(0编辑  收藏  举报