Junk Food for the Brain

Open Source and Awesomesauce :)

How to Get a Root Prompt / Shell With Sudo

| Comments

Sometimes, just using sudo isn’t enough. You may need an extended session to do work as the root user. At times like this, the following command will save your day:-

sudo -i

The -i means interactive, and opens a root shell, assuming you have sudo priviledges.