You're viewing a single thread.
All comments
20
comments
The ! is really useful when you forget you need to run the command with sudo.
sudo !!
8 0 ReplyThat’s life changing shit right there.
2 0 ReplyNo thanks. I'll just press the up arrow -> ctrl-a -> sudo
2 0 Replythis is way more intuitive anyway
1 0 Reply
I like the argument reuse as well via
!:1
and such. A bit more situational but can definitely come in handy2 0 Reply
20
comments
Scroll to top