Re: removing directories even they are not empty

Martin Stricker <[email protected]> Mon, 15 Sep 2003 09:14:05 +0200
Newsgroups gmane.linux.redhat.release.psyche
Organization http://martin-stricker.de/ http://www.surfo.net/ http://www.masterportal24.com/cgi-bin/YaBB.cgi
Message-ID <[email protected]>
"M. Zabtoo" wrote:
> 
> I have done a great expreiment with linux 8, installation and
> uninstallatoin of so many softwares. but it leave me with lot of
> directories and now i want to delete them at all. Is thier any way to
> delete them even they are full.

Yes, use
rm -r /path/to/directory
rm -rf /path/to/directory
The first will ask for each file to delete, the latter will just
silently delete them. Warning: There is no (easy) undelete, and no
reecycle bin! You need to have sufficient privileges for the files and
directories, I guess you need to be root. *Be careful*!

Best regards,
Martin Stricker
-- 
Homepage: http://www.martin-stricker.de/
Linux Migration Project: http://www.linux-migration.org/
Red Hat Linux 8.0 for low memory: http://www.rule-project.org/
Registered Linux user #210635: http://counter.li.org/


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list