關閉→
當前位置:知科普>IT科技>怎麼恢復liunx刪除的文件夾

怎麼恢復liunx刪除的文件夾

知科普 人氣:3.1W

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張

TAG標籤:#文件夾 #liunx #