rmdir

Brien Dieterle briend at gmail.com
Mon Aug 20 13:02:05 MST 2018


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 <mailinglists at mattcrews.com>
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 - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20180820/0a438fef/attachment.html>


More information about the PLUG-discuss mailing list