首页 > 代码库 > 十八.固化命令

十八.固化命令

固化命令
脚本文件
在登入用户时执行以下脚本
/etc/profile
/etc/profile.d/a.sh
/root/.bash_profil
/root/.bashrc
/etc/bashrc
先加载profile文件再加载bashrc文件

非登入shell:
在登入一个新的BASH /bin/bash下时执行以下脚本
/root/.bashrc
/etc/bashrc
/etc/profile.d/a.sh
在里面可以固话命令

十八.固化命令