Where Is the Bash History File in Linux?
Contents in Bash, Your Command History Is Stored in a File (. Bash_History ) in Your Home Directory. Where Is Bash History Stored in Linux? the Bash Shell...
Contents
In Bash, your command history is stored in a file ( . bash_history ) in your home directory.
Where is bash history stored in Linux?
The bash shell stores the history of commands you’ve run in your user account’s history file at~/. bash_history by default. For example, if your username is bob, you’ll find this file at /home/bob/.
Must Read
Where is history stored in Linux?
More Linux resources
These previously issued commands (known as your history list) are stored in your history file. Its default location is ~/. bash_history , and this location is stored in the shell variable HISTFILE .