All Questions
6 questions
1
vote
0
answers
96
views
How to find out what caused a deletion of .bash_history entries during a specific timespan (to prevent it from happening again)?
Lots of entries were missing from my ~/.bash_history. I made frequent backups of that file so I determined a timespan of a few hours during which the file must have been deleted or emptied.
Which ways ...
2
votes
1
answer
134
views
HISTCMD does not increment normally in bash
HISTCMD displays an erratic behaviour, though I never reset it I promise (I checked all my configuration files). As a result I cannot delete the entry containing my password which I inadvertently ...
2
votes
1
answer
585
views
How to prevent missing entries in .bash_history? (Possibly due to lack of disk space)
I just noticed that a lot of entries are missing from my bash command history (the .bash_history file).
I'd like to know:
if there is a way to find out why commands are missing from the file (like a ...
3
votes
0
answers
129
views
bash multiline history with lithist option broken
i used to enable lithist option, which make bash history store in multiline,
but one day, the lithist option not work.
enabling lithist mean you can store multiline in one history entry.
if you type ...
5
votes
1
answer
3k
views
Terminal history is being deleted upon ending session
My ~/.bash_history is fine and has all of the previous commands that I ever typed. However, when I press the up-arrow key on the keyboard, I get nothing; the history command shows only the commands ...
0
votes
0
answers
83
views
Does changing one's hostname also clear the root's bash history?
I'm asking because mine is strangely short and I definitely didn't clear them. However I tried changing my username (because I got some errors which I thought were due to my hostname; tried to view ...