If you ever wondered, sudo su and sudo -i are not exactly the same. sudo suCalls sudo with command su, i.e. Bash is called as interactive non-login shell. It executes only .bashrc and you remain in the same directory.sudo su -Logs in as super user, i.e. /etc/profile, .profile and ``.bashrc`are executed and you are logged in to root’s home directory with root’s environment.sudo -i-i = simulate initial login. The manpage for sudo says: