computer/properties
James Freer
jessejazza3.uk at gmail.com
Mon Jun 9 22:40:06 UTC 2014
On 09/06/2014, Tom H <tomh0665 at gmail.com> wrote:
> 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.
I've been following this thread as I have only used sudo and very
occasionally sudo su.
As soon as sudo -i was mentioned and others I thought I better check
up... not really being an IT type. Thought this link was worth reading
for the original poster.
http://mylinuxbook.com/sudo-vs-su-in-ubuntu-linux/
james
More information about the ubuntu-users
mailing list