remove a folder

Patrick Asselman iceblink at seti.nl
Mon Sep 2 14:07:32 UTC 2013


On 2013-08-30 18:05, William Biggs wrote:
> On Fri, Aug 30, 2013 at 10:38 AM, Sarunas Burdulis
> <sarunas at math.dartmouth.edu> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 08/30/2013 12:30 AM, William Biggs wrote:
>> > now it went trash folder can not remove it even when I try to 
>> empty
>> > it how do I remove it from there
>>
>> While in 'sudo nautilus', right-click on Trash, Empty trash. In
>> Nautilus Preferences one can also set to enable Delete command,
>> bypassing Trash, when wanted.
>>
> no did not work
>

No worries, everything is fixable.

You can try in a terminal "sudo su -" and then "nautilus" and try to 
empty trash from that window.

If that does not work, in a terminal you can try:

sudo rm -r ~/.local/share/Trash/*
sudo rm -r /root/.local/share/Trash/*

But be careful and use at your own risk. Deleting the wrong things as 
root (or via sudo) can really cripple your system.
(I don't have a Linux system at hand here, so I am not able to confirm 
if these commands work as I think they should)

Best regards,
Patrick





More information about the ubuntu-users mailing list