Skip to main content

Execute the last command as root

·1 min

If you have forgotten to use sudo for a command:

$ sudo !!!

This executes the last command as root.

Tim Peters
Author
Tim Peters
I am a detective in the service of technology! Always on the lookout and yet completely in my element. Software tester with a passion.



Comments

If you would like to leave a comment, please reply to this post. All responses received will then be displayed here.


Mastodon