Linux

How to check which commands you executed in the past?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

history command or .bash_history file

  • also can use up arrow key to access or to show the recent commands you type