Re: Can not rmdir
On Fri, Aug 22, 2003 at 12:00:52PM -0700, 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 This is presumably correct. When I try rmdir -rf dir_name, it gives me as an output : rmdir: illegal option --r usage: rmdir [-p] directory ... This is also correct (rmdir does not have the -r option). I installed FreeBSD 5.1 from the CD-ROM which comes with Linux CD magazine Maybe something's wrong with this CD ? No, you're just misusing it :-) To remove a directory and all its contents, you want to use rm -r. Kris pgp0.pgp Description: PGP signature
RE: Can not rmdir
I installed FreeBSD 5.1 from the CD-ROM which comes with Linux CD magazine Could you please provide a URL where I can get more information on Linux CD magazine? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not rmdir
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 [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now.' --Hitchhikers Guide to the Galaxy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not rmdir
From: Henrik Hudson [EMAIL PROTECTED] To: Edouard Saksonov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 22, 2003 2:55 PM Subject: Re: Can not rmdir 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 A few choice words!? You are indeed a mild-tempered gentleman ... ;-) KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not rmdir
On Fri, 22 Aug 2003 14:44:43 -0500 Charles Howse [EMAIL PROTECTED] wrote: I installed FreeBSD 5.1 from the CD-ROM which comes with Linux CD magazine Could you please provide a URL where I can get more information on Linux CD magazine? http://www.journaux.fr/revue.asp?revue=L4880 http://www.dppresse.com/linuxcd.htm Don't ask me why a french linux magazine promotes FreeBSD 5.1 :) Maybe some day, we'll have a BSD one... clem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]