3 ms·
I always use this construction for "where did my space go": du -ha ~ | sort -hr | head -n 12 -a is the important bit, it recurses down through every directory
by LeoPanthera 6y ago
I always use this construction for "where did my space go":
du -ha ~ | sort -hr | head -n 12
-a is the important bit, it recurses down through every directory.
Replace ~ with / or whatever directory you want.
- Scaevolus 6y ago-a, --all write counts for all files, not just directories