Where is the command history file in Linux?

Vy Bùi

New member
Where is the command history file in Linux?
Answer
The history is stored in
the ~/.
bash_history file
by default. You could also run ‘cat ~/. bash_history’ which is similar but does not include the line numbers or formatting.
 

Tìm kiếm

Back
Top