Category Archives: System

Linux – Top 10 CPU-hungry apps

If you want to find out which applications you run eat the most of your CPU, run the command below: ps -eo pcpu,pid,args | sort -k 1 -r | head -10 This will display a top 10 list of those processes, starting with the hungriest at the top.

Find duplicate files in Linux

Let’s say you have a folder with 5000 MP3 files you want to check for duplicates. Or a directory containing thousands of EPUB files, all with different names but you have a hunch some of them might be duplicates. You can cd your way in the console up to that particular folder and then do… Read More »

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.