by motoboi · 5y ago · 0 comments
Learn keyboard shortcuts to edit the current command line and you'll save years of your life.
ESC-. (dot) will get the last argument of the last command. This one alone will save you months.
CTRL-R will search backwards. This other will save more months.
That was over 10 years ago and I still use the shell with this in mind.
I’m not saying I never change directory, but once I do, I tend to stay there.
I had to scroll a fair way down to find a comment validating this opinion.
Perhaps we’re wrong when saying to change directory efficiently, you don’t.