History file in Linux is the file in which the command history is stored, it is created in the home directory of every user, e.g. in case the user is Joe and his home directory is /home/Joe than the file will be /home/Joe/.bash_history

You can also find the path to your history file using the command $HISTFILE , if it is not set than the command history is not saved when an interactive shell exits

Trackback

no comment untill now

Sorry, comments closed.