Web Design

Archive for January, 2009

Recover lost RAR passwords with Linux

Ever lost the password to an archive file? You can recover it from the CLI with rarcrack. Just be sure you have the unrar-free and NOT the unrar-nonfree package installed. It tries a bruteforce method on the archive file[...]


Find files larger than a given size in Linux

Using the command line, you can search for files larger than a given filesize using find /path/to/dir-containing-files -type f -size +1024k This will search for files larger than 1MB (1024k). Use multiples of 8 to change[...]


List Linux processes by CPU or Memory usage

You can use a one-string command in Linux to nicely display in CLI the processes that consume your CPU. Use ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed ‘/^ 0.0 /d’ and you will get something l[...]