Tuesday Tech Tip: When you forget sudo
You’re a the command line and you issue a command but forget to
sudo it. No problem. Just enter
sudo !! and you’ll be asked for you password. The previous command will then be executed with the proper credentials.
This tip courtesy of Lifehacker.Tags: command line, linux, tips