nader's thinkery
Your thoughts, bookmarks, todo lists, notes and things. Without the hassle.

Commandlinefu: Run the last command as root

Commandlinefu: Run the last command as root

command Mar 16, 2011
Really useful!

Run the last command as root
Useful when you forget to use sudo for a command. "!!" grabs the last run command.