# Command History

say it: **“kuh-MAND HIS-tuh-ree”** **/kəˈmænd ˈhɪstəri/**

The shell's memory of earlier commands, reached with the up arrow or \`Ctrl+R\`.

## What is **Command History**?

The shell remembers your **command history**. Press the up arrow for earlier commands, `Ctrl+R` to search, or run `history` to list them.

```bash
history | tail -5
!!    # run the last command again
```

Level: Apprentice · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=2)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/command-history
