Not really history as in "!<number>" to select a previous command.
But perhaps related.
On most of my Fedora systems, bash remembers the last commands entered
prior to a restart. After the system restarts, a new bash window shows
the last previous command when I press the up-arrow key and multiple
presses continue to show previous commands in reverse order.
On one system only, nothing happens when I press that key. On that
one system after I've entered commands, up-arrow shows the previous
commands in reverse order as I expect. Except that it doesn't go back
beyond the first new command after the restart. This happens on each
new bash window on that system, even after other windows have started
to respond to the up-arrow key.
I presume some history file is being deleted as a byproduct of the
restart. But I can't seem to find whatever option controls that
behavior, perhaps because I haven't used the right name to search for
it. It clearly isn't the .bash_history file as that file is present
after a restart (though it doesn't appear to have been updated for
months). Please clue me in.
--
Dave Close, Compata, Irvine CA +1 714 434 7359
dave(a)compata.com dhclose(a)alumni.caltech.edu
"Any fool can make something complicated.
It takes a genius to make it simple." -- Woody Guthrie