How to check the bash history via command line in Linux

How to check the bash history via command line in Linux

If you want to access the actual file itself, just use your favorite text editor (I use nano):

nano ~/.bash_history

That is the default location if your history file.

Output screen shot :

How to check the  bash history via command line in Linux 1

The post How to check the bash history via command line in Linux appeared first on Hosthowto.com.