Section: History and Interactive Features

Show history

bash
bash
history | tail
Explanation

Interactive Bash maintains a history list and file.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing History and Interactive Features
History substitution with fc
Re-run last command after simple substitution.
OpenIn sheetbashsame section
Show readline bindings
Inspect key bindings handled by readline.
OpenIn sheetbashsame section
Reload current shell rc
Load commands from a file into current shell.
OpenIn sheetbashsame section
Create alias
Create a shell alias.
OpenIn sheetbash1 tag match
List aliases
Print current aliases.
OpenIn sheetbash1 tag match
Remove alias
Remove a shell alias.
OpenIn sheetbash1 tag match