You want to check the list of commands you have executed recently. Which of the following files should you check?
  1. ~/.history
  2. /etc/bash_history
  3. ~/.bash_history
  4. ~/.bash_commands
Explanation
Answer - C - You should check the ~/.bash_history file to check the list of commands you have executed recently.

Key Takeaway: The ~/.bash_history file contains a list of your most recent shell commands. The bash shell lets you hit the up-arrow on your keyboard to review/edit/re-use complex commands you've already typed.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz