Run the last used command as root user
May 17, 2010 - Leave a Comment
Ever typed a nice fancy string command into the terminal and been frustrated to discover it must be run as a super user? No problem! Just type this command next:
sudo !!
This executes the last used command but through sudo, running it as the root user. No more retyping those lengthy complex strings! Helpful indeed.
