Re: rmdir

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Brien Dieterle
Date:  
To: Matthew Crews, Main PLUG discussion list
Subject: Re: rmdir
That's still too dangerous. What I do is first chown the folder to nobody
user. Then sudo to nobody.
Then I type out the full path to the folder, and use the arrow keys to move
to the beginning of the line. Then I finally type rm - rf and hit enter

On Mon, Aug 20, 2018, 12:16 PM Matthew Crews <>
wrote:

> On 8/20/18 8:26 AM, Carruth, Rusty wrote:
> > Or, simply, rm -rf DIR, assuming you want to remove ‘DIR as well as
> > anything in it (as I thought he said).
>
> I always make it a point to include ./ so that I don't accidentally
> delete something on root (even though rm -rf is supposed to prevent that.
>
> $ rm -rf ./DIR
>
> Including ./ in your path basically tells your system to use your
> current working directory
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss