Debian系统没有传统意义上的回收站,但可通过以下方式恢复误删文件:
.local/share/Trash中。可进入该文件夹的files子文件夹,将所需文件复制回原位置来恢复,命令为cp /.local/share/Trash/files/filename /path/to/restore/location。Trash-Cli,命令为sudo apt install trash-cli。删除文件时用trash-put命令,恢复文件则用trash-restore命令,还可通过trash-list查看被删除文件,trash-empty清空回收站。