LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03:41 PM   #1
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
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, 03:56 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"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, 03:58 PM   #3
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

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


Reply



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 08:09 PM
NOT escaping bash history ivanatora Linux - General 3 06-07-2005 01:17 PM
bash history slowly Linux - General 2 11-12-2004 11:35 AM
F8 for command history in bash titanandrews Linux - General 7 10-15-2004 03:25 PM
Bash History ukndoit Linux - Security 2 10-16-2003 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 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
Open Source Consulting | Domain Registration