站在用户登录的角度来说,shell的类型:
登录式shell :正常通过某终端登录 su - USERNAME su -l USERNAME
非登录式shell :su USERNAME
bash的配置文件
全局配置 :/etc/profile
/etc/profile.d/*.sh
个人配置 :/etc/bashrc
/etc/.bash_profile
/etc/.bashrc
转载于:https://blog.51cto.com/14087650/2333205
站在用户登录的角度来说,shell的类型:
登录式shell :正常通过某终端登录 su - USERNAME su -l USERNAME
非登录式shell :su USERNAME
bash的配置文件
全局配置 :/etc/profile
/etc/profile.d/*.sh
个人配置 :/etc/bashrc
/etc/.bash_profile
/etc/.bashrc
转载于:https://blog.51cto.com/14087650/2333205