系统shell

来源:互联网 发布:产品绘图软件 编辑:程序博客网 时间:2024/04/29 11:15

全局设置文件:
     /etc/profile
     /etc/bashrc
用户设置文件:
  ~/.bashrc
  ~/.bash_profile

  ~/.bash_logout:在用户logout的时候自动执行。
  ~/.bash_history:用户login时自动读取其内容并加载到内存history记录中,logout时将内存history记录写入。

 

/etc/profile.d/*.sh:在/etc/profile中被执行,其中的环境设定,也会被全局引用

原创粉丝点击