Safia Abdalla blog.safia.rocks

What happens when you run `sudo !!`?  ↦

Safia Abdalla continues her excellent series of “what happens when” posts, this time tackling sudo !!:

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. 👌


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00