01 2013 档案

摘要:(1)/etc/profile 登录时,会执行。全局(公有)配置,不管是哪个用户,登录时都会读取该文件。(2)/ect/bashrc Ubuntu没有此文件,与之对应的是/ect/bash.bashrcbash.bashrc 是交互式shell的初始化文件。 (3)~/.profile 某个用户读取的配置。若bash是以login方式执行时,读取~/.bash_profile,若它不存在,则读取~ /.bash_login,若前两者不存在,读取~ /.profile。另外,图形模式登录时,此文件将被读取,即使存在~/.bash_profile和~/.bash_login。(4)~/.bash_ 阅读全文
posted @ 2013-01-22 19:36 木子你妹 阅读(240) 评论(0) 推荐(0) 编辑