history

Category: Shell & Bash

history

Display the command history list

Shows a numbered list of all the commands you've previously run in this shell. Use the numbers with ! to re-run them.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.