Posted By

pyroblue on 05/20/11


Tagged

file size linux directory directories largest


Versions (?)

find the largest directories in a Unix shell


 / Published in: Bash
 

  1. #the entire filesystem, starting at '/'
  2. du -a /* | sort -n -r | head -n 10
  3.  
  4. #or for a particular directory:
  5. du -a /home/username/ | sort -n -r | head -n 10

Report this snippet  

You need to login to post a comment.