Search through your history with PgUp and PgDown

By | September 24, 2010

If you want to be able to search through your .bash_history inline, you can simply edit your ~/.inputrc file and add these two lines:

“\e[5~”: history-search-backward
“\e[6~”: history-search-forward

Now you can grep your .bash_history by using those two buttons.

One thought on “Search through your history with PgUp and PgDown

Leave a Reply

Your email address will not be published. Required fields are marked *