linux environment config files(bashrc profile )

(1)/etc/profile 全局(公有)配置,无论是哪一个用户,登陆时都会读取该文件。shell (2)/ect/bashrc Ubuntu没有此文件,与之对应的是/ect/bash.bashrc 它也是全局(公有)的 bash执行时,无论是何种方式,都会读取此文件。bash (3)~/.profile 若bash是以login方式执行时,读取~/.bash_profile,若它不存在,则读取
相关文章
相关标签/搜索