<syntaxhighlight lang='bash'> history
Also see fc.
The number of commands to remember in the command history is given by ${HISTSIZE}. Numeric values less than zero result in no history limit.