sudo options

Use sudo -i to create an interactive root shell on CentOS. Instead of $, you will see #, indicating that you have root access. Very useful when you have to run a sequence of various commands which require root access. You won’t have to type sudo before each command.