I use a shell every day. Almost always, I want to repeat a previous command, or repeat it after a slight modification. A very convenient way is t...
For further actions, you may consider blocking this person and/or reporting abuse
Runs command
Requires sudo
sudo !!
I use this daily since discovering it! Especially now I'm using Ubuntu at home and they want sudo for everthing...
escape-dot, !$, ctrl-w are useful.Thanks.
I love keyboard shortcuts so thanks for sharing! And you’re right, I knew all of those you mentioned except for the ESC/dot. :) will try that ASAP
That's pretty awesome. I didn't even know that there is even a concept of two consecutive key strokes forming a short cut...
Nice tips! Adding that alias to my collection :D
Thanks for sharing!
Up arrow works same way in iterm. :)