Where does bash shell store the commands executed recently?

Where does bash shell store the commands executed recently?
Answer
One of the greatest features of Bash is the command history, which stores all commands a user runs, in a history file within his/her home directory (typically /home/$USER/. bash_history). This allows the user to easily recall, edit and rerun previous commands.
 

Tìm kiếm

Back
Top