Command line way to find large files/directories to remove and free up space

Home » Linux » Command line way to find large files/directories to remove and free up space
October 24, 2015 Linux No Comments

If you just need to find large files, you can use find with the -size option. Additionally you can use sort command to sort the output.The next command will list all files larger than 10MiB (MB is not same as MiB):

If you want to find files between a certain size, you can combine it with a “size lower than” search. The next command find files between 10MiB and 12MiB:

LEAVE A COMMENT