博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
    * /etc/environment file
      The first file that the operating system uses at login time is the /etc/environment file. The /etc/environment file contains variables specifying the basic environment for all processes.
    * /etc/profile file
      The second file that the operating system uses at login time is the /etc/profile file.
    * .profile file
      The .profile file is present in your home ($HOME) directory and lets you customize your individual working environment.
    * .env file

      A fourth file that the operating system uses at login time is the .env file, if your .profile contains the following line: export ENV=$HOME/.env

 

  /etc/environment -> /etc/profile ->* .profile -> * .env

 

 

http://www.loveunix.net/archiver/tid-103799.html

 

posted on 2012-05-15 21:30  Likwo  阅读(315)  评论(0编辑  收藏  举报