tony.arnold at manchester.ac.uk
Mon Jun 9 12:38:19 UTC 2014
On 09/06/14 12:26, Liam Proven 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?
Something to do with if it's effectively a login shell. sudo -i sets my
cwd to /root where as sudo -s leaves me where I am. There may be more to
it. FWIW, I've always used sudo -i
Tony Arnold, Tel: +44 (0) 161 275 6093
Head of IT Security, Fax: +44 (0) 705 344 3082
University of Manchester, Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arnold at manchester.ac.uk
More information about the ubuntu-users