4 ms·
>sudo su - It's high time for this thing to die. sudo supports this natively since forever: $ sudo -i
by 5e92cb50239222b 5y ago
>sudo su -
It's high time for this thing to die. sudo supports this natively since forever:
$ sudo -i
- pepoluan 5y agoHuh. TIL. I usually just do `sudo zsh` :-)
- iso1631 5y agoWhy
- not1ofU 5y agoCurious, whats the difference and why is sudo -i better? I was unaware of sudo -i (I might as well be a noob though), so I had a quick search to find out more and found this [0] One question, if I may, could there be any situation (that you can think of, off the top of your head) where using sudo -i would be worse then "sudo su -" [0] - https://www.maketecheasier.com/differences-between-su-sudo-su-sudo-s-sudo-i/ https://www.maketecheasier.com/differences-between-su-sudo-s...
- rascul 5y ago'sudo su -' uses root to run 'su -' to open a root login shell. 'sudo -i' opens a root login shell.
- yung_steezy 5y agosu is old fashioned but it works fine. I don't even have sudo installed on my PC.