On Fri, Mar 25, 2011 at 11:54:35AM -0500, Eitan Adler wrote:
> On Fri, Mar 25, 2011 at 11:35 AM, Andriy Gapon <a...@freebsd.org> wrote:
> > on 25/03/2011 17:35 Pietro Cerutti said the following:
> >> No need to look for strange scenarios, I'm surely going to sudo rm -f the 
> >> file
> >> more sooner than later, so... maybe just save a copy?
> >
> > I even can rm -rf / by accident.
> > What's your solution to this? :)
> 
> rm -rf /
> rm: "/" may not be removed

referring to the CVS, this should improve the approach.

        cd /tmp
        rm -rf ../*

ymmv

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgp5D40nqAsVs.pgp
Description: PGP signature

Reply via email to