Neat tips! thanks
We all know !! but it's mostly just used to sudo !!
I find !$ (which is last argument of the last command) incredibly useful:
#make a directory and go to it
# OR even better
# move then edit a file
mv ~/somefile.txt ~/renamed.txt
# edited a file, now add it to git
git add !$
There's a whole slew of ! commands but !$ is one I use all the time.
Funny $_ is the exact same as !$. There's always more to learn 😀.