0
$ set -o | grep history
history on
$ echo $HISTFILE
/root/.bash_history
$ echo $HISTSIZE
1000
$ echo $HISTFILESIZE
1000
I ran following command and history become disabled for all users on logout
$ ln -sf /dev/null ~/.bash_history && history -c && exit
How can I re-enable history or make it normal as default?
Other users shouldn't be affected, unless they use the same home directory... or you changed the /etc/skel files so all new users get the null-linked history – Xen2050 – 2018-03-24T11:01:18.400