在Ubuntu系统中,回收站通常被称为“Trash”,其默认位置在 /.local/share/Trash/ 目录下。要清空回收站,你可以使用以下几种方法:
HOME/.local/share/Trash 目录。Ctrl + Alt + T 快捷键来打开)。sudo rm -rf /home/your_username/.local/share/Trash/files/*
请将 your_username 替换为你的实际用户名。autotrash 命令行工具autotrash:sudo apt-get install autotrash
autotrash -d 0
这里参数 -d 0 表示立即删除所有已移入垃圾桶超过零天的项目。sudo。通过以上方法,你可以快速清空Ubuntu的回收站,释放磁盘空间。