Last Updated: February 25, 2016
·
655
· edward

ctrl-r in the shell is your friend

Use ctrl-r in the shell (e.g. bash, zsh or any modern shell) to speed up typing commands you’ve previously run. Doing this will reduce stress and make you look awesome.

Hit ctrl-r and start typing something you recently ran in the shell. Hit ctrl-r again if there are multiple matches.

Bonus: try holding shift-ctrl-r to go backwards.