shell学习-基本命令

一:环境变量 1. 介绍/etc/bashrc 文件中的PS1变量的定义和修改后的情况: vim .bash_profile  cat .bash_profile  cat .bashrc    上面两个文件内容可以看出:执行bash_profile时,需要先执行 .bashrc(因此加操作最好加在bash_profile中,这样不会先加载bashrc,然后加载bash_profile进行覆盖),
相关文章
相关标签/搜索