码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2015-06-29 09:51:39      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:

登录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选项

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

标签:

原文地址:http://www.cnblogs.com/jim-hwg/p/4606789.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!