https://www.gnu.org/software/bash/manual/html_node/Using-His...
I think people who work a lot at the command line mostly use aliases and little scripts in files.