Web Design

Archive for the ‘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 hun[...]


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. Y[...]


Use “at” to schedule launching of commands in Linux

You can execute a task at the time you want it to launch by using at. Let’s say you want mplayer start playing a movie at 12:42. Do a at 1242 A command prompt will appear where you can type the command you cant to [...]


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-forwar[...]