Tag: Command

Command to find the 10 largest files in linux

by Craig Mayhew on Apr.26, 2009, under Linux/Ubuntu

The following command will list the top 10 largest files in your linux file system. I’ve confirmed it works on OpenSUSE and Ubuntu 8.04. Remember to run this command as root if you want to search the entire file system.

find / 2>/dev/null -type f -ls | sort -k 7 -r -n | head -10
Leave a Comment :, , , more...

Visit our friends!

A few highly recommended friends...