QuestionQ7

Essential Commands

Which file in a user's home directory is used to store Bash command history?

  • A .bash_history
  • B .bash_histfile
  • C .history
  • D .bashrc_history
  • E .history_bash
Explanation

Bash uses the file specified by HISTFILE to save command history; by default, this is ~/.bash_history.

Community Discussion

No comments yet. Be the first to start the discussion!