What happens when you run `sudo !!`? ↦
Safia Abdalla continues her excellent series of “what happens when” posts, this time tackling
One thing I’m sure everyone has done on the command line is to use the
!!shortcut to run the command run previously with sudo.
Don’t be so sure, Safia. It took me literally years of command-lining around before I learned that trick. I bet you taught more than a few people about its existence with this very article. 👌
Sign in or Join to comment or subscribe