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
If you want the output to be more “human” readable use:
du -ah |sort -rh|less
This is useful if you want to cleanup your files, or when a disk is filling up.