cli oneliner - sort top 10 directories

  One simple oneliner that I picked up few years ago, and it is great for finding directories that eat up most of space in current directory.

ls -A | grep -v -e '^\.\.$' |xargs -i du -ks {} |sort -rn |head -11 | awk '{print $2}' | xargs -i du -hs {}