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 :

Bipul
Bipul

Jobair Alam Bipul and I’m a 31-year-old tech enthusiast from Bangladesh. have been working in the E-commerce, Domain and Web Hosting industry for more than 10 years

Articles: 67

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.