du examples
From thelinuxwiki
# du -sh 64G . # du -s * | awk '{s+=$1} END {print s " / " 1048576 }' | bc -l | awk '{ printf ("%.2f%s\n",$1," GB") }' 63.98 GB # du -s *.log | awk '{s+=$1} END {print s " / " 1048576 }' | bc -l | awk '{ printf ("%.2f%s\n",$1," GB") }' 26.50 GB