Saturday, June 9, 2012

How to find which package is taking a lot of space in ubuntu ?

rscgl@debian:~$ dpkg-query --show --showformat='${Package; -50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{ printf "%.3f MB \t %s \n", $2/(1024),$1}'| tail -n 10

No comments:

Post a Comment