LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Bash history file (https://www.linuxquestions.org/questions/linux-software-2/bash-history-file-348400/)

jinksys 07-30-2005 03:41 PM

Bash history file
 
This is my second post about Examcram's LPIC book. There is a question in the Exam prep questions that reads...

"You are curious as to the name of the file bash uses for storing the commands youve previously typed. To echo the name of this file screen, which variable name would you use? (Type just the variable name as it would be used with the echo command [no $].)

The correct answer is HIST FILE. "

Now, i read the errata and they changed HIST_FILE to HIST FILE. But...the variable is $HISTFILE...right?

jailbait 07-30-2005 03:56 PM

"Now, i read the errata and they changed HIST_FILE to HIST FILE. But...the variable is $HISTFILE...right?"

Right.

echo $HISTFILE

-----------------------
Steve Stites

jinksys 07-30-2005 03:58 PM

Thats what I thought. thanks.


All times are GMT -5. The time now is 09:53 AM.