.bash_history was not found.

liuxialuoluo

New Member
Joined
Oct 27, 2020
Messages
2
Reaction score
1
Credits
17
Where is the .bash_history file in CentOS Linux version 7.8.2003 (core)? Why can't it be found under ~.
 


Nobody has answered, so I figured I'd check. Are you sure that keeping the history is enabled?


I could have sworn that it was enabled by default on CentOS, but I could be mistaken. So, it's worth looking to see if it's enabled. If it isn't, the directions are there.
 
Nobody has answered, so I figured I'd check. Are you sure that keeping the history is enabled?


I could have sworn that it was enabled by default on CentOS, but I could be mistaken. So, it's worth looking to see if it's enabled. If it isn't, the directions are there.
I found it in the root directory after rebooting. But it is strange why the new system is not booted under root for the first time? Thank you for your reply.
 

Members online


Latest posts

Top