LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-30-2005, 04:41 PM   #1
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 418

Rep: Reputation: 31
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?
 
Old 07-30-2005, 04:56 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,589

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

Right.

echo $HISTFILE

-----------------------
Steve Stites
 
Old 07-30-2005, 04:58 PM   #3
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 418

Original Poster
Rep: Reputation: 31
Thats what I thought. thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zero-length bash .history file! revmyo Linux - Security 1 12-03-2005 09:09 PM
NOT escaping bash history ivanatora Linux - General 3 06-07-2005 02:17 PM
bash history slowly Linux - General 2 11-12-2004 12:35 PM
F8 for command history in bash titanandrews Linux - General 7 10-15-2004 04:25 PM
Bash History ukndoit Linux - Security 2 10-16-2003 10:02 AM


All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration