Command-line history.
More information.
- Display the commands history list with line numbers:
- Display the last 20 commands (in `zsh` it displays all commands starting from the 20th):
- Clear the commands history list (only for current `bash` shell):
- Overwrite history file with history of current `bash` shell (often combined with `history -c` to purge history):
- Delete the history entry at the specified offset:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY
Mastodon