![Forrest logo](/images/logo.png)
trashy:tldr:0240a
The command "trash list" is used to list all the files and directories present in the trash or recycle bin on a Linux or Ubuntu-based system.
When you delete a file or directory in Linux, it is not immediately removed from the file system, but instead moved to a special directory known as the trash or recycle bin. This allows you to restore accidentally deleted files or directories.
By executing the "trash list" command, you can see a list of all the files and directories that have been moved to the trash. The displayed information typically includes the file or directory name, its location within the trash, and possibly other details like size and modification date.
This command is particularly useful if you want to see what files or directories you have deleted and may want to restore, or simply to verify that the deleted items are in the trash before permanently deleting them.