How To Find Large Files Linux

Running out of disk space on your Linux server and need to find the files taking up the most space? The du or Disk Utility command is a standard Linux command, used to check the information of disk usage of files and directories. Below is the command that will list out the files and folders in the current directory in descending order.

Sort DESC in human-readable format

du -h | sort -h -r


Here is a great resource for additional du parameter options.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.