當前位置:生活全書館 >

IT科技

> liunx刪除的資料夾恢復的流程

liunx刪除的資料夾恢復的流程

linux刪除的檔案怎麼恢復?我們一起來了解一下吧。

1、在終端視窗中輸入命令 mkdir建立一個演示資料夾。

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 資料夾
  • 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/wkol9.html