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 来恢复文件。
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 来恢复文件。
上一篇:如何腌蒜苔,蒜台怎么腌制好吃??
属兔的男人和什么属相最配??:下一篇
精彩评论