How to Empty Trash on Linux and Free Space
If Trash is consuming storage on Linux, Kudu can help clear it safely and recover disk space.
By Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
On Linux, deleted files usually go to the Trash folder instead of being removed right away. That means large files, old downloads, and deleted media can still take up real disk space until the Trash is emptied.
Trash can also build up across different drives, external disks, or user accounts, so space usage is not always obvious at first. In some cases, hidden Trash folders keep growing in the background and leave you wondering why storage is still full even after “deleting” files.
Common Symptoms
- Your Linux PC is low on disk space even after deleting files
- The file manager shows a full or nearly full drive
- Large files seem to be gone, but storage usage does not drop
- You get warnings about insufficient space during updates or downloads
- External drives still appear full after removing files
How to Fix It Manually
-
Empty Trash from your file manager
- Open your file manager. This may be Files, Nautilus, Dolphin, Thunar, or another app depending on your Linux desktop.
- In the left sidebar, click Trash or Wastebasket.
- Look for Empty Trash, Empty Wastebasket, or right-click the Trash icon and choose the empty option.
- Confirm the deletion.
-
Check for trashed files on external or secondary drives
- Open your file manager and browse each mounted drive.
- Enable hidden files if needed. In many file managers, you can press Ctrl+H.
- Look for hidden folders such as
.Trash-1000,.Trash, or.local/share/Trashon that drive. - If you are sure the trashed files are no longer needed, empty them through the file manager or delete the contents carefully.
-
Empty Trash from the terminal
- Open Terminal from your app menu.
- Run this command to clear the current user’s main Trash:
rm -rf ~/.local/share/Trash/files/* ~/.local/share/Trash/info/* - This removes files already placed in Trash. Be careful: once deleted this way, they are not easy to recover.
-
Check how much space Trash is using
- In Terminal, run:
du -sh ~/.local/share/Trash - If you want to check common Trash folders on other drives, you can also inspect them manually in your file manager or use:
du -sh /path/to/drive/.Trash-* 2>/dev/null - This helps confirm whether Trash is the reason your storage is still full.
- In Terminal, run:
-
Use a built-in cleanup tool if your distro includes one
- Some Linux distributions include a disk cleanup or storage utility.
- Open your app menu and search for Disk Usage Analyzer, BleachBit, or a storage/cleanup tool provided by your distro.
- Review what is safe to remove, then clean temporary files and Trash.
-
Restart and verify free space
- Open your file manager and check the drive’s free space again.
- You can also run:
df -h - If space still has not returned, another folder may be consuming storage, not just Trash.
Fix It Automatically with Kudu
Kudu can scan your system for wasted storage, including leftover Trash data, temporary files, and other safe-to-remove clutter. Instead of hunting through hidden folders and multiple drives yourself, Kudu helps you clear space quickly and safely.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
Why Is Cache Taking So Much Space on Linux
Find out why cache keeps growing on Linux and how Kudu can safely remove unnecessary cached files.
Why Is Docker Taking So Much Space on Linux
If Docker is filling your Linux disk, Kudu can help clean cache and temporary container-related clutter.
How to Fix Low Disk Space on Linux
Running low on Linux disk space? Kudu can remove caches, logs, and temporary files to free storage.
How to Fix /var/log Taking Too Much Space on Linux
If /var/log is huge, Kudu can help clean old logs and recover disk space on Linux.