computer/properties

Tom H tomh0665 at gmail.com
Mon Jun 9 13:04:53 UTC 2014


On Mon, Jun 9, 2014 at 7:25 AM, Liam Proven <lproven at gmail.com> wrote:
> On 9 June 2014 13:22, Tom H <tomh0665 at gmail.com> wrote:
>>
>> ; you just need to
>> switch to root with "sudo -i".
>
>
> I have never known the difference between ``sudo -s'' and ``sudo -i''.
> I always use the former. Can you clarify?

"sudo -i" is the same as "sudo su -" and "sudo -s" is the same as "sudo su".

"sudo -i" switches to "/root" and sources root's login shell's
dotfiles; so if you've set up aliases for root, they'll be available.




More information about the ubuntu-users mailing list