Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to restore deleted items from the Ubuntu trash?

share|improve this question
Did you delete a file which was located in the trash, or do you wanna restore a file from the trash? – Bobby Apr 8 '10 at 14:22
i delete file, which was located in the trash – alex Apr 8 '10 at 14:29
up vote 3 down vote accepted

If you delete a file from the trash (or delete it without even sending it to the trash, like with shift+del or rm), it can't be recovered. Technically, the data may be there somewhere on the disc, which you may get back with reading the disc contents directly (which is a Not Easy task, but theoretically possible if you deleted some very important data; but very important data should always be backed up), but it is quite possible that it is already overwritten. So I can say that practically your data is lost. It is because the structure of Linux file systems.

Note that on the other hand, it is possible to recover deleted files from Windows partitions (like FAT32 or NTFS), and there are several tools for that. But the data still gets overwritten pretty quick there, so it is practically impossible to recover a deleted file from a Windows system partition.

That's exactly why the concept of a trash is invented, to prevent users accidentally losing their data. If you tell the computer to delete something from the trash, then you must be pretty sure you want to delete it.

share|improve this answer

You can try foremost sudo apt-get install foremost for more information on it look at the man page.

share|improve this answer

Here is how you can add Trash icon on desktop. After adding this icon it is very similar to Recycle Bin from Windows.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.