Brad Lucas

Programming, Clojure and other interests
June 25, 2017

Yardwork

Weekend chore. The Mac has no more space.

$ df -k
Filesystem                1024-blocks       Used Available Capacity    iused     ifree %iused  Mounted on
/dev/disk1                  243924992  219810484  23858508    91%   55016619   5964627   90%   /
devfs                             180        180         0   100%        626         0  100%   /dev

Show directory sizes.

$ du -sh *

Show where the large directories are.

$ du -a . | sort -n -r | head -n 5
Tags: bash