history

history lists commands from the shell history.

Delete

Delete an entry by command index:

history -d <command index>
Updated: 2026 Aug 19