加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-13 18:08:26 所属栏目:Linux 来源:网络整理
导读:在 windows中,如果你没有按下shift,可以在垃圾箱中找到已删除的内容, 在linux中由rm -f删除的文件怎么样? 解决方法 要记住的第一件事是 – 停止在文件系统上进行任何进一步的写入活动. 然后,您可以尝试一些工具来查看文件系统并尝试在已删除的节点中查找数
在 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!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读