liuxialuoluo
New Member
Where is the .bash_history file in CentOS Linux version 7.8.2003 (core)? Why can't it be found under ~.
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.Nobody has answered, so I figured I'd check. Are you sure that keeping the history is enabled?
How can I enable the bash command history?
I am using bash shell on SUSE Linux Enterprise 10 sp1. The bash history was disabled by somebody. That means I can't get the previous command by pressing the UP key. I want to enable the command h...superuser.com
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.