Linux

Where Is the Trash Folder on Linux?

Linux Trash files and info folders under .local/share/Trash, plus per drive .Trash-UID roots.

Last updated

Deleted files on Linux land in ~/.local/share/Trash with a files half and an info half. The info half records original paths, which is how restore works.

Other drives keep their own .Trash folders at the drive root. A missing trash on an external disk usually means a permissions or topdir problem there.

Where Linux stores this, by platform

Linux
~/.local/share/Trash/files

Restore metadata sits next to it in ~/.local/share/Trash/info. Empty per folder in your file manager or with the gio trash empty command.

Frequently asked questions

Why do deleted files skip Trash on my USB drive?

The drive root needs a writable .Trash-$UID dir. Without it the file manager falls back to permanent delete after warning.

How do I empty Trash from Terminal?

Use the gio trash empty command or clear both Trash subfolders. The rm command never uses Trash at all.

Notice an outdated path? Let us know.