ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux Profile order

Linux Profile order

原创 Linux操作系统 作者:jackeyliliang 时间:2014-05-22 20:55:55 0 删除 编辑
shell分类:
交互式登录shell:以一个用户的身份登陆进去,输入命令的格式的shell 
读取配置文件的顺序:
            /etc/profile-->/etc/profile.d/*-->~/.bash_profile-->~/.bashrc-->/etc/bashrc     
非交互式登录shell:只在一个脚本的,不需要用户登录,自动运行             
读取配置文件的顺序:
            /.bashrc-->/etc/bashrc-->/etc/profile.d/*


You can setting some user specified env variable.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26611303/viewspace-1167883/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-01-08

  • 博文量
    35
  • 访问量
    28274