June 27, 2017

Do you need to find large files?

Use the following command to get a list of files sorted from large to small on your unix machine.

du -ak |sort -rn |less

This is useful if you want to cleanup your files, or when a disk is filling up.

© Arnold Greyling 2022

Powered by Hugo & Kiss.