优艾设计网

linux误删文件怎么恢复?

优艾设计网 https://www.uibq.com 2022-12-21 18:46 出处:网络 作者:磨皮美容教程
linux误删文件怎么恢复?我们一起来了解一下吧。 优艾设计网_Photoshop问答1、在终端窗口中输入命令 touch demo.txt创建一个演示文稿。

Linux误删文件怎么恢复?我们一起来了解一下吧。

优艾设计网_Photoshop问答1、在终端窗口中输入命令 touch demo.txt创建一个演示文稿。

2、执行命令rm -rf demo.txt 删除该文件。

3、执行 debugfs命令。

4、执行命令 dd if=/dev/mapper/vg_root-lv_root of=/home/demo.txt bs=640 count=1 skip=1089 来恢复文件。

0

精彩评论

暂无评论...
验证码 换一张
取 消