Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

In Windows I could easily do this by navigating the directory tree and looking at the sizes. But in Linux, you need to run a command and, what's worse, it takes a lot of time:

$ du -sh /some/dir

I'm using a disk of 1 TB, but for some reason I only have like 50 GB left, and I can't seem to find what's taking so much space.

I remember that in Ubuntu I had to manually remove old kernel images. But now I'm on Fedora and dpkg -l | grep linux-image doesn't work, and I guess Fedora removes them automatically anyway.

Any ideas?

share|improve this question

marked as duplicate by slhck Sep 6 '13 at 21:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You can try to find big files in your disk with a command such as:

find . -size +100M -type f -exec ls -lh {} \;

In this example, only files with 100 Mega Bytes (units of 1048576 bytes) or more are displayed. That value can be tweaked as you please.

share|improve this answer
btw - since you want to avoid processing /proc .. I made the following adjustment to your command: for dname in *; do if [ $dname != "proc" ]; then find $D -size +10M -type f -exec ls -lh {} \;; fi; done (presumes running from /) – warren Jun 6 '14 at 2:50

You can use this

$ du -h --max-depth=1  

You can use with tree also

tree -h >> file    
share|improve this answer

Not the answer you're looking for? Browse other questions tagged .