How do I find out where the rm command transferred deleted files to Ubuntu? I can not find them anywhere to permanently delete and clear the memory.
- 2Yes, it seems that they are automatically deleted permanently? - Gennadi
- 3See type rm, if it is not alias, do not search, there are no more. - 0xdb
- Quite often asked question by ubuntologists. And the most frequent answer: look in the Basket. - de_frag
- what does "irrevocably" mean? Physically can remain on the disk data. Can shred be used. For ssd special measures may be required. - jfs
|
1 answer
The rm command deletes files permanently. This means that it releases the inode of this file. After that, find the data related to this file is almost impossible.
If you want to delete to the recycle bin, use the trash command (man 1 trash). If you want to use only delete to the trash and nothing else, write in your .bashrc alias:
alias rm='trash' If you are paranoid about security, do the opposite.
Starting with the ext4 file system version, the recycle bin is supported by the kernel. But here I can’t say anything concrete - I didn’t use it.
- incomplete recovery can be done if the files are still open by some process - using lsof for example - Hellseher
|