Posted By

LucasRinaldi on 08/21/12


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

benoitpointet
frentsel2


Estimate File Size Usage


 / Published in: Bash
 

Using: - 'du' with -S for not including size of subdirectories, and -h is to see on human-readable form (changing bytes to gb or mb); - 'sort' with -n for indexing comparing numerical string values, and -r to reverse the order of the sort; - 'more' to see the output in parts.

  1. du -Sh | sort -n -r | more

Report this snippet  

You need to login to post a comment.