How to Empty Trash from the Linux Terminal

Linux Tips

🗑️ How to Empty the Trash from the Linux Terminal

Sometimes the graphical interface might not let you empty the Trash. In those cases, you can use this simple command from the terminal:

sudo rm -rf ~/.local/share/Trash/files/*

This will forcibly delete all files inside the Trash folder for your user.


That's all for now! See you next time!

— Pablo Vass


Comments

Search

Cargando buscador...