o9s
is a microblog
home archives search feed blogroll


Bang Bang Bash

!! runs the last command again. It can be used when you forget to sudo.

sudo !!

Equally useful, !foo runs the most recent command that starts with foo”.

Posted on 2018-02-04   #bash     #til  






← Next post    ·    Previous post →