Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#bash_history
#histfile
#history_command
#bashrc
Medio

Which of the following files, located in the user home directory, is used to store the Bash history?

A

.bash_history

Correcto
B

.bash_histfile

C

.history

D

.bashrc_history

E

.history_bash

Explicación Oficial / Explicaciones de la Comunidad

The Bash shell stores command history in a file specified by the HISTFILE environment variable. By default, HISTFILE is set to ~/.bash_history in the user's home directory. This file is read at the start of a session and appended to during the session, allowing users to recall previous commands using history or arrow keys.