Wednesday, September 3, 2014

[Quick Tips] : How to empty Trash through command line in Ubuntu

How to empty Trash through command line in Ubuntu

How to empty Trash through command line in Ubuntu
Operating System : Ubuntu 12.10 \n \l
I checked this practical in Ubuntu 12.10 \n \l .
To empty the trash in Ubuntu through command line follow the given steps
Step 1 : First check is Trash folder exist. By ls -la command you can see other files and folders inside Trash dir.
Step 2: Now change to directory files.
Step 3 : Now remove all files and directory inside ~/.local/share/Trash/files
Now check Trash in Desktop, it would be empty now.

No comments: