How To Find Large Files In Linux
How to Filter Large Files with find Command
The find command in Linux is a powerful tool to search for files and folders based on your criteria. When combined with the appropriate options, you can find large files hogging up memory on your Linux system. To locate the large files in Linux using the find command, use this syntax:
In the above syntax:
-type f is used to specify the find command to look for only files. -size <size_limit> specifies the file size limit to look for.
For example, to search for files larger than 1GB in the current directory, the command is:
Whether large or small files, the find command is a life-saving Linux command. If you want to know more ways to use the find command, do check out our guide on