In this chapter, we’re going to look at using shell history, built-in keyboard shortcuts for bash terminal, and file globbing. These techniques will help you move faster as you enter new commands, repeat past ones, or modify partially written ones.
History
It’s great having lots of useful commands at your fingertips, but with so many it’s easy to lose track. That’s where the history command comes in handy. The history command should come preinstalled on most Linux systems. Running the command returns a list of your last run commands.