history The history command displays a list of recently executed commands in the terminal. Syntax history Usage history: Lists the command history.