Help with SSH terminal behavior.

http://ask.metafilter.com/63707/Help-with-SSH-terminal-behavior

If you put HISTFILESIZE=10000 in your .bashrc, you'll keep a lot more lines of history (the default is 500).

When you close a bash session, that session's history is appended to the history file. So if your history file is nice and big, everything will turn up in there eventually.
posted by flabdablet at 5:57 PM on May 30, 2007



If you put HISTFILESIZE=10000 in your .bashrc, you'll keep a lot more lines of history (the default is 500).
原文地址:https://www.cnblogs.com/cy163/p/1387118.html