是否有可能在Linux中恢复由rm删除的文件?

前端之家收集整理的这篇文章主要介绍了是否有可能在Linux中恢复由rm删除的文件?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
windows中,如果你没有按下shift,可以在垃圾箱中找到已删除内容,

linux中由rm -f删除文件怎么样?

解决方法

要记住的第一件事是 – 停止在文件系统上进行任何进一步的写入活动.

然后,您可以尝试一些工具来查看文件系统并尝试在已删除的节点中查找数据. extundelete是sourceforge上的一个这样的工具.

extundelete is a utility that can recover deleted files from an ext3 or ext4 partition. The ext3 file system is the most common file system when using Linux,and ext4 is its successor. extundelete uses the information stored in the partition’s journal to attempt to recover a file that has been deleted from the partition. There is no guarantee that any particular file will be able to be undeleted,so always try to have a good backup system in place,or at least put one in place after recovering your files!

猜你在找的Linux相关文章