How to delete it?

Janina Sajka janina at afb.net
Mon Jul 22 10:40:18 EDT 2002


Octavian:

You didn't read the man page very carefully. This is definitely covered 
there.

rm -rf


On Sun, 21 Jul 2002, Octavian Rasnita wrote:

> Hi all,
> 
> I've tried to delete a directory that has some files in it using the rm
> command.
> 
> I've took a look in the man page for rm and it tells there that:
>   -d, --directory       unlink directory, even if non-empty (super-user
> only)
> 
> I've was logged with the root account, but after typing the following
> command:
> 
> rm -d database
> 
> it asked me if I want to delete the file "database" and after answering y,
> it told me that it can't delete the file because it is a directory.
> 
> I've seen in the man page that rmdir can't delete directories that are not
> empty.
> 
> Can you tell me what is wrong?
> 
> Thanks.
> 
> 
> Teddy Center: http://teddy.fcc.ro/
> Mail: orasnita at home.ro
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina at afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org





More information about the Speakup mailing list