Shell Icon


A shell is a command-line tool, designed to be run by the Unix shell.
12 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. 👌

read more

0:00 / 0:00