摘要:
su - root:just like login as root, then the shell is login shell,which mean it will expericene a login process,usually .bash_profile and .bashrc will be sourcedsu rootlike you open an interactive shell in root name,then only .bashrc will be sourced.su 和 sudo 的区别: 1.共同点:都是root用户的权限; 2.不同点:su仅... 阅读全文