101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 57


SIMULATION -

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)

Show Answer
Correct Answer:

The Bash environment variable that defines in which file the user history is stored when exiting a Bash process is HISTFILE. This variable specifies the file where the command history is saved. By default, it is usually set to ~/.bash_history.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclair
Oct 21, 2023

The Bash environment variable that defines in which file the user history is stored when exiting a Bash process is: `HISTFILE`