登录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选项
登录:/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脚本实现的基于SVN的代码提交量统计工具
- shell脚本(一)
- Shell脚本实现的基于SVN的代码提交量统计工具
- 一波实用的Bash Shell整理
- Linux常用的shell命令
- 易宝典文章——玩转Office 365中的Exchange Online服务 之五 怎样利用PSl连接Exchange Online实现管理
- shell十三问(转)
- linux shell 指令 诸如-d, -f, -e之类的判断表达式
- 项目之中的 shell脚本中变量是怎么变化的。
- 常用的主机监控Shell脚本
- 环境配置文件: login, non-login shell, /etc/profile, ~/.bash_profile, source, ~/.bashrc
- bash 的进站与欢迎讯息: /etc/issue, /etc/motd
- tee命令用法小结
- shell基础
- shell脚本之脚本接收选项
- shell脚本之数组
- shell脚本编程常识
- Shell编程——基于IBM培训教程的总结
- 比较bash和perl的比较运算符
- Linux Shell学习之基础篇(不适合学习,仅为本人笔记)