Find the file hog

From thelinuxwiki
Jump to: navigation, search
ls -A | grep -v -e '^\.\.$' |xargs -i du -ks {} |sort -rn |head -11 | awk '{print $2}' | xargs -i du -hs