How do I determine the file name used to store my bash history commands?



  • The HISTFILE variable stores the file name of your bash history commands.

    $ echo $HISTFILE
    /home/training/.bash_history
    

    The value is the default, /home/<username>/.bash_history


Log in to reply
 

© Lightnetics 2024