心理

當前位置 /首頁/完美生活/心理/列表

環境變量的順序

環境變量的順序

加載順序

/etc/profile -> ~/_profile -> base ~/rc -> /etc/bashrc -> /etc/profile.d/sh -> /etc/sysconfig/il8n

當用户登錄進來,先加載/etc/profile ,加載完執行/etc/profile.d/腳本,然後才運行 HOME/rc,最後查找 /etc/bashrc

所有的腳本發現了就執行。

TAG標籤:環境變量 #