How to find large files on Linux

What can you do if the memory on your Linuxx machine is almost full? You can free up space by deleting or moving some files, and you should probably start with the largest files.

Discover how to find large files and duplicate files to free up more usable space and improve system performance.

Find large files using GUI tools

The easy way first. QDirStat is a GUI application for the Linux desktop that you can install using this terminal command:

sudo apt install qdirstat

When running QDirStat, it will ask you to select a folder to scan before listing the size of the folder and the files in it. You can then use the Discover > Largest Files menu item to find the largest files. In the Locate Files window , sort them by Size and you will see the largest files in descending order.

How to find large files on Linux Picture 1How to find large files on Linux Picture 1 How to find large files on Linux Picture 2How to find large files on Linux Picture 2 How to find large files on Linux Picture 3How to find large files on Linux Picture 3 How to find large files on Linux Picture 4How to find large files on Linux Picture 4

You may notice that QDirStat shows some folders in red. This means you do not have read permission to access those folders.

To resolve the issue, run the program with superuser rights as follows:

sudo qdirstat

How to find large files on Linux Picture 5How to find large files on Linux Picture 5 How to find large files on Linux Picture 6How to find large files on Linux Picture 6 How to find large files on Linux Picture 7How to find large files on Linux Picture 7 How to find large files on Linux Picture 8How to find large files on Linux Picture 8

Find large files using FTP software

FileZilla FTP application has great file search features that you can use on your local machine. Make sure SSH is installed, or install with:

sudo apt install ssh

Next, install FileZilla using this command:

sudo apt install filezilla

How to find large files on Linux Picture 9How to find large files on Linux Picture 9 How to find large files on Linux Picture 10How to find large files on Linux Picture 10 How to find large files on Linux Picture 11How to find large files on Linux Picture 11

After installing FileZilla, you can use it to search your local files:

1. Open FileZilla and connect using the following credentials:

Host:

localhost

Username:

Your username

Password:

Your password

Port:

22

2. Once you're connected, select Server from the menu, then select Search remote files .

3. Select the Search folder and in Search conditions , select File size from the drop-down box and, for example, greater than 100MB.

4. Clicking Search will only show you files of the desired size.

You can filter the search further by adding conditions, for example, the video file has the MP4 extension.

How to find large files on Linux Picture 12How to find large files on Linux Picture 12 How to find large files on Linux Picture 13How to find large files on Linux Picture 13 How to find large files on Linux Picture 14How to find large files on Linux Picture 14 How to find large files on Linux Picture 15How to find large files on Linux Picture 15

Tip : This process is also useful when you want to search large files on a remote Linux server, especially if you don't have access to a terminal. You will need to replace the authentication information with the FTP details.

5 ★ | 1 Vote