mac 下 profile文件

转载地址:http://blog.csdn.net/xdonx/article/details/8312938


  1. 当你的home下面有.bash_profile或者.bash_login的时候,会忽略调.profile.   
  2. 稍微调查了一下,做个笔记   
  3. 主要有一下几种方式   
  4. /etc/profile    
  5. ~/.bash_profile    
  6. ~/.bash_login    
  7. ~/.profile    
  8. ~/.bashrc    
  9. ~/.bash_logout   
  10.   
  11. /etc/profile   
  12. 登录的时候读入,默认的设定文件.   
  13. ~/.bash_profile   
  14. 登录之后在/etc/profile载入之后载入,十分重要的配置文件   
  15. ~/.bash_login   
  16. 登录之后如果~/.bash_profile不存在的话,载入这个文件   
  17. ~/.profile   
  18. 登录之后~/.bash_login不存在的话,才载入这个文件   
  19. ~/.bashrc   
  20. bash shell打开的时候载入   
  21. etc下的配置是针对系统,~下的主要是针对用户  

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值