Ubuntu – How to open “Trash” through terminal

command linetrash

I tried opening Trash by running the command nautilus, but it gives me an error.

Best Answer

The trash folder should be located under:

/home/your_username/.local/share/Trash

So you should be able to access it via:

cd ~/.local/share/Trash

The folder might not exist unless you delete something from the filesystem. In this case you would run into an error (saying that the folder does not exist).