Belajar Sendiri

Commands

du -sh

du -sh <paths>

Risk: Safe

What it does

Shows how much space folders and files take.

When to use it

To find the fat shelf before you delete anything.

Example

$ sudo du -sh /var/log/*

One total per log folder.

$ du -sh ~/* | sort -h | tail -n 5

Your five fattest folders.