Shell Icon


A shell is a command-line tool, designed to be run by the Unix shell.
6 Stories
All Topics

Safia Abdalla

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. šŸ‘Œ

0:00 / 0:00