交换机用户在Linux中有什么区别:
su root
和
su -
su root (也可以写成su )不产生loginshell
su
su -生成一个loginshell。
当使用第一个(例如.bash_profile,.profile等)