Re: Can not rmdir
From: Kris Kennaway (kris_at_obsecurity.org)
Date: 08/22/03
- Previous message: Kris Kennaway: "Re: Samba 2.2.8 vs 2.2.8a on 4.8 Release"
- In reply to: Edouard Saksonov: "Can not rmdir"
- Next in thread: Charles Howse: "RE: Can not rmdir"
- Reply: Charles Howse: "RE: Can not rmdir"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 22 Aug 2003 12:31:00 -0700 To: Edouard Saksonov <edouard_bsd@yahoo.com>
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
- application/pgp-signature attachment: stored
- Previous message: Kris Kennaway: "Re: Samba 2.2.8 vs 2.2.8a on 4.8 Release"
- In reply to: Edouard Saksonov: "Can not rmdir"
- Next in thread: Charles Howse: "RE: Can not rmdir"
- Reply: Charles Howse: "RE: Can not rmdir"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|