Meta dot in bash

“Meta dot” or Alt+. is a really useful bash shortcut key that I’ve come to appreciate lately. It brings up the last command-line argument of the last command that you used (sort of like !$ but less of a gamble) and you can hit it repeatedly to cycle through previous command-line args. Super useful. Try it.

Leave a Reply

Your email address will not be published. Required fields are marked *