In Linux Mint and Ubuntu the Trash folder is located at:
~/.local/share/Trash
Step 1: Where is trash folder in Linux Mint
You can access the Trash folder also by username:
/home/some_user/.local/share/Trash
There is an alias for the Trash can on Ubuntu like systems (Linux Mint):
trash:///
Step 2: Empty trash by command line in Mint
To empty the Trash folder in Ubuntu you can follow the next steps:
Empty Trash in Ubuntu by command line:
rm -rf ~/.local/share/Trash/*
Or select Trash folder and files for deletion
- Navigate to the Trash Folder
cd ~/.local/share/Trash
- Delete files:
- Several files -
rm file1 file2 file3
- Files by type -
rm *.pdf
- Directories -
rm -d dir1
- Several files -
Step 3: Ubuntu trash-empty command
If you need to Empty Trash can frequently than we can install additional package by:
sudo apt install trash-cli
and empty the Trash folder by command:
trash-empty