ShellEnhancement

From SME Server
Revision as of 16:28, 14 August 2007 by Jader (talk | contribs) (New page: ==Expand memory of you .bash_history== Expand the "memory of your .bash_history to 2000 lines adding this on your .bashrc: <pre> export HISTFILESIZE=2000 export HISTSIZE=2000 </pre> == Ea...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Expand memory of you .bash_history

Expand the "memory of your .bash_history to 2000 lines adding this on your .bashrc:

export HISTFILESIZE=2000
export HISTSIZE=2000

Easy search using arrows

Create a .inputrc with :

"\e[A": history-search-backward
"\e[B": history-search-forward

Next logon you'll be able to search command by start to write them and use up/down arrows.