On Thu, 22 Feb 2001, Simon Bryan wrote:

> Is there an equivalent in Linux to the DOS deltree, that will remove 
> folders, files and .files without confirmation? Such a fun command on a 
> Windows system, generally goes like:
> cd /
> deltree *
> Oh S***T!!!!!

Warning - use the following command at your own risk. I am not responsible
if you completely fsck your system doing so.

cd /
rm -rf *
Oh S**T!!!!!

Actually, this most likely won't blow away your entire system - but it
will almost irrepairably damage it. It'll delete every file until you hit
the rm executable - and once it deletes that, the process will stop - but
by then, your system will be hosed.

You can, of course, use this in other directories than the root of your
system tree.

DaZZa


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to