Linux command history alternate location
Hi Guys,
I am just wondering is there any other altrenate location which saves the history command logs other that bash_history file. Thanks in advance in helping me.. Regards Rajesh.. |
Each user's bash history will be found in /home/usr/.bash_history
For root, that will be /root/bash_history. That's the only place(s) to find that log. |
Some of the locations are:
Quote:
|
The location can be changed by setting the $HISTFILE environment variable
|
HISTFILE environment variable determines the history file path.
|
All times are GMT -5. The time now is 01:10 AM. |