[PLUG] Everything you wanted to know about Linux security and aren't afraid to ask (was: Linux /Windows virus appears)
D. Cooper Stevenson
cooper at linux-enterprise.net
Mon Jun 10 15:29:34 UTC 2002
On Sun, 2002-06-09 at 19:24, Anthony Schlemmer wrote:
> I was cleaning up some subdirectories within my home directory.
[snip]
> I tend to alias "rm" to "rm -i" now so I can't make this mistake again.
Just for fun, the following also works:
find /directory/you/wish/deleted -ok rm -rf {} \;
It will ask you before deleting each file and directory.
-Cooper
More information about the PLUG
mailing list