/etc/profile和/root/.bash_profile有什么区别
2013-07-18 09:46
274 查看
/etc/profile是全局的,是私有的
/etc/profile用于整个系统所有用户, ~/.bash_profile, ~/.profile和~/.bashrc 用于各个用户,这里的"~"符号就是各当前用户的$HOME ~/.bash_profile 和 ~/.profile 只在登陆时读取一次。 ~/.bashrc 每次都读取 ~/.bash_profile 和 ~/.profile 的区别在于,bash 只读取~/.bash_profile;而对于 ~/.profile 来说,不光bash, 其他shell 也读 ~/.profile
相关文章推荐
- linux .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- /etc/profile /etc/bashrc .bashrc .bash_profile的区别
- Linux下/etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc的区别
- /etc/profile,/etc/bashrc,~/.bash_profile,~/.bashrc,~/.bash_logout的区别
- ~/.bashrc, ~/.bash_profile 以及/etc/profile /etc/bashrc 几个文件的区别与相互关系
- /etc/profile和/etc/bashrc和~/.bash_profile和~/.bashrc和~/.bash_logout的区别
- /etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc 的区别(转)
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- .bash_profile和.bashrc的什么区别
- linux 下/etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc 的区别
- /etc/profile、~/.bash_profile等几个文件的区别和执行过程
- Linux下文件 ~/.bashrc 和 ~/.bash_profile 和 /etc/bashrc 和 /etc/profile 的区别 | 用户登录后加载配置文件的顺序
- .bash_profile和.bashrc的什么区别