您的位置:首页 > 运维架构 > Shell

登录shell与非登录shell读取文件过程

2015-06-29 09:39 465 查看
登录shell与非登录shell读取文件过程
登录:/etc/profile→/etc/profile.d/*.sh ~/.bash_profile
非登录:~/.bash_profile→~/.basfrc→/etc/bashrc
#soure .bash_profile 手动更新
/etc/profile 通用的有效环境变量
/etc/profile.d/*.sh 软件包特有的环境变量
~/.bash_profile 用户特有的环境变量
~/.bashrc 用户特有的别名、shell功能和shell选项
/etc/bashrc 通用别名、shell功能和shell选项
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: