Difference between "su -" command and "sudo -i" command
When logged in as a normal user we can use the "$ su -" command to switch to root user.
But we can do the same using the "$ sudo -i" command, what is the difference between these two commands?
When logged in as a normal user we can use the "$ su -" command to switch to root user.
But we can do the same using the "$ sudo -i" command, what is the difference between these two commands?
Responses