在Ubuntu文件管理中,恢復誤刪除文件可參考以下方法:
sudo apt-get install extundelete
,再在終端輸入sudo extundelete /dev/sdXY --restore-file /path/to/deleted/file
來恢復文件,其中/dev/sdXY
是文件所在分區,/path/to/deleted/file
是文件原始路徑。sudo testdisk
,按提示選擇磁盤和分區,通過“Analyse”和“Quick Search”或“Deep Search”查找文件,找到后用“Recover”恢復。