1、特定用户登录时执行的文件
~/.bash_profile
~/.bashrc
~/.bash_logout
2、任何用户登录时都执行的脚本
/etc/profile
3、系统启动时用户登录前执行的最后一个脚本
/etc/rc.local
1、特定用户登录时执行的文件
~/.bash_profile
~/.bashrc
~/.bash_logout
2、任何用户登录时都执行的脚本
/etc/profile
3、系统启动时用户登录前执行的最后一个脚本
/etc/rc.local