Bash History

This lesson gives you a pragmatic overview of bash’s history features, which can save you lots of time when at the terminal. You will learn about where your history is stored, how previous commands can be referenced, and various options and variables that can be set when working with your shell history.

How Important is this Lesson?

Bash’s history features are used at the command line so often that it’s difficult to understate how important they are. It’s a rich subject, but here I keep to the features I use most of the time.

Bash and History

Bash keeps a history of commands you have run. It keeps this in memory.

Get hands-on with 1200+ tech skills courses.