“I have [bash] history back to ~2003”
twitter.com
“I have [bash] history back to ~2003”
1–10 of 148 posts
Re: “I have [bash] history back to ~2003”
#2Re: “I have [bash] history back to ~2003”
#3I guess the downside of this is that ctrl+r would only search the current day's history? Personally I at least increased the history kept with HISTFILESIZE=500000 and HISTSIZE=5000
I guess you'd have to set the history-size etc large enough to hopefully last for the maximum expected shell run-time.
EDIT: hmm, the man page says you can just unset HISTFILESIZE or set it to a non-numeric/negative value to avoid truncating the history file at all.
Re: “I have [bash] history back to ~2003”
#4Re: “I have [bash] history back to ~2003”
#5Re: “I have [bash] history back to ~2003”
#6Re: “I have [bash] history back to ~2003”
#7Great resource for hackers if they someday get access to your account.. but I guess you will have bigger problems than.
Re: “I have [bash] history back to ~2003”
#8Re: “I have [bash] history back to ~2003”
#9I recently set up my bash history to collect into an sqlite database. Besides the exact command it records the working directory, return value, starting time, ending time, a shell and a login session id. It doesn't handle background jobs well right now though.
Re: “I have [bash] history back to ~2003”
#10I guess the downside of this is that ctrl+r would only search the current day's history? Personally I at least increased the history kept with HISTFILESIZE=500000 and HISTSIZE=5000