# Your Command History

The shell remembers every command you type, so the up arrow brings back the last ones, history lists them all with numbers, Ctrl+R finds one by any part of it, and clear gives you a fresh screen.

![Cheat sheet for the lesson Your Command History: The shell remembers every command you type, so the up arrow brings back the last ones, history lists them all with numbers, Ctrl+R finds one by any part of it, and clear gives you a fresh screen.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/11e63af9ece047e480474b3be022306b.webp)

- Category: Bash
- Level: Apprentice
- Tags: clear, command-history, linux, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-command-history-cheat-sheet
