history Linux Command
Shows the list of previously executed commands in the current shell session.
What does history do?
Shows the list of previously executed commands in the current shell session.
Syntax
history [n]Practical example
history 20Shows the list of previously executed commands in the current shell session.
Shows the list of previously executed commands in the current shell session.
history [n]history 20