history - show command history in terminal

history is a very simple command available in most Linux/Unix shells. It returns a list of last executed commands in an ordered list. Most recent commands are shown last.
In some shells it’s possible to customise command history with timestamps.
See Also
- Basic Unix Commands
- Unix Commands
- ls command
- Filesystem navigation commands
- tmux mouse mode in macOS
- more command
- less command
- pwd command
- cat command