New answers tagged

6

No, as far as I know not as bash maintains history in memory and only writes or appends new history items when the shell exits. When you "press the power button" (or run shutdown -f) obviously the shell does not exit gracefully and you lose any new history from that session as that exists only in memory. Previous history items from other sessions of course ...



Top 50 recent answers are included