開心生活站

位置:首頁 > IT科技 > 

怎樣恢復liunx刪除的文件

IT科技2.6W

1、在終端窗口中輸入命令 touch demo.txt創建一個演示文稿。

怎樣恢復liunx刪除的文件

2、執行命令rm -rf demo.txt 刪除該文件

怎樣恢復liunx刪除的文件 第2張

3、執行 debugfs命令。

怎樣恢復liunx刪除的文件 第3張

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

怎樣恢復liunx刪除的文件 第4張

標籤:文件 liunx