• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

黑夜星辰

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

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

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

posted on 2015-06-29 09:39  黑夜星辰  阅读(369)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3