Date: Fri, 22 Aug 2003 14:55:11 -0500 From: Henrik Hudson <lists@rhavenn.net> To: Edouard Saksonov <edouard_bsd@yahoo.com>, questions@freebsd.org Subject: Re: Can not rmdir Message-ID: <200308221455.11710.lists@rhavenn.net> In-Reply-To: <20030822190052.25702.qmail@web12408.mail.yahoo.com> References: <20030822190052.25702.qmail@web12408.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 22 August 2003 14:00, Edouard Saksonov wrote: > Hi, > I've just installed FreeBSD 5.1, everything is fine, but when I wanted to > remove a directory(with only one file in it), the system do not want to do > that: When I type > > rmdir -p dir_name , it gives me as an output : > >rmdir: dir_name: Directory not empty > > When I try > > rmdir -rf dir_name , it gives me as an output : > >rmdir: illegal option --r > >usage: rmdir [-p] directory ... > And if you don't want it to prompt you, do: rm -rf dir_name Be careful though..this can and will wipe your whole system if you accidentally type: rm -rf / and then tap the enter key :) and yes, I've done it both on purpose to see what happens and not on purpose. The former is kinda cool, the latter makes you say a few choice words. Henrik -- Henrik Hudson listsNO@SPAMrhavenn.net "`If there's anything more important than my ego around, I want it caught and shot now.'" --Hitchhikers Guide to the Galaxy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308221455.11710.lists>
