Linuxtipstricks – Just another /linux/blog

February 21, 2009

How to finding out which directory is the largest on your device

Filed under: user tipstricks — Antonio Portuesi @ 4:43 pm
Tags: , , , , , , , , ,

How many time did you try to know exactly which is the living-to-eat-some-space directory on your hard drive?

No matter what system/distro you have, that could be a issue for you as a faithful user of Ubuntu, OpenSuSE, Slackware, Gentoo and so on.

Either you have a unique partition or a multi partition system the following code might be useful for your purpose.

user@pc:~$ du -S | sort -n

Have a try and reclaim your free space!

Blog at WordPress.com.