Chinaunix首页 | 论坛 | 博客
  • 博客访问: 95527
  • 博文数量: 10
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 453
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-07 12:52
个人简介

热衷于系统架构、服务器、系统调优、linux运维

文章存档

2013年(10)

我的朋友

分类: LINUX

2013-03-22 16:49:54


 ⑴、bash的配置文件:

          全局配置:/etc/profile, /etc/profile.d/*.sh ,/etc/bashrc

          个人配置:~/.bash_profile,~/.bashrc

     登陆式shell读取配置文件的过程:

           /etc/profile --> /etc/profile.d/*.sh --> ~/.bash_profile --> ~/.bashrc --> /etc/bashrc

     登陆式shell如何读取配置文件过程:

           ~/.bashrc --> /etc/bashrc --> /etc/profile.d/*.sh

阅读(1660) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~