Linux系統刪除的文件怎麼恢復
- IT科技
- 關注:1.75W次
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 來恢復文件。
- 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/zh-mo/dianzi/1wrpw6.html