[Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)

Edward Ned Harvey (blu) blu at nedharvey.com
Fri Sep 25 21:44:48 EDT 2015


> From: Kent Borg [mailto:kentborg at borg.org]
> 
> -kb, the Kent who also never types scary commands like "rm -rf
> /home/jruser/somedirectory" in left-to-right order, for fear he might
> bump the return too soon; rather he types out the base command, then the
> entire path complete... and only then goes back and adds the dangerous
> "-rf"-part.

Heheh, what I do is this:

ls -ld /foo/bar/*

Did I see it display precisely the things I want to destroy? If so, hit the up-key and replace "ls -ld" with "rm -rf"



More information about the Discuss mailing list