Easily sudo the previous command
Sudo (su „do”) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments. Combine that with Bash, the GNU Bourne-Again Shell, and it’s history expansion feature and you can easily sudo the previous command with „sudo !!”. Take a look at the screencast: Via lifehacker.