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,若它不存在,則讀取
相關文章
相關標籤/搜索