- All Exams Instant Download
Which of the following best describes the difference between HISTSIZE and HISTFILESIZE in Bash?
Which of the following best describes the difference between HISTSIZE and HISTFILESIZE in Bash?
A . HISTSIZE and HISTFILESIZE are the same.
B . HISTSIZE is the number of overall history entries to keep in the .bash_history, while HISTFILESIZE sets the number of commands to keep for the current session.
C . HISTFILESIZE is the number of overall history entries to keep in the .bash_history, while HISTSIZE sets the number of commands to keep for the current session.
D . HISTSIZE is the size of root’s history, while HISTFILESIZE sets the overall system history.
Answer: C
Latest 101-500 Dumps Valid Version with 242 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
There is no correct answer among the proposed ones.
The BASH man page says:
“HISTSIZE
The number of commands to remember in the command history (see HISTORY below). The default value is 500.”
[https://linux.die.net/man/1/bash]
So there is not a ‘current session’ as indicated in the false correct answer and also in the other ones.