Find disk usage sorted by size
Jul 11, 2023·1 min read
To find all folders and it's disk usage sorted by size, you can use the following cmd
du -ck | sort -nTo find all files in a folder and it's size,
ls -l --block-size=MBor
ls -lhRelated posts
Share this article