Category Archives: cli

Search through your history with PgUp and PgDown

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-forwardNow you can grep your .bash_history by using those two buttons.

Convert CHM files to PDF for Nook and Amazon Kindle

The downside to eReaders is generally the small screen. You open up a PDF file and the fonts are smaller than you’d wish them to be. You can always zoom, but why not prepare your file from the beginning? If you have a CHM file and you want to convert it to a PDF to… Read More »