Alternative Folder Size Command

Sep 2025

Introduction

There are many ways to work out the size of folders, but this one that I learnt today seems to be perfect for my needs.
It is using the du (disk usage) command again, but with some different switch at the end.
You need to login as root (sudo -s) for this to work as you may end up with permission errors, depending on what folders you are searching.