On Sun, 10 May 1998, Keith wrote: > I have been trying to delete directories that are not empty. I try doing > a rm -d * but I get a response that the operation is not allowed. I am > logged in as root. What am I doing wrong. I am looking something that > works like deltree in dos.
rm -r directoryname will recursively remove "directoryname" and any files or directories in it. WARNING WARNING WARNING This is a dangerous command to run as root, because you can destroy your system and make it unbootable (like doing "deltree c:\" in dos) ... make absolutely sure you want to get rid of whatever's in that tree, and that your system doesn't need any of that stuff to run... Will -------------------------------------------------------------------------- | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] | | http://www.cis.udel.edu/~lowe/ | | PGP Public Key: http://www.cis.udel.edu/~lowe/index.html#pgpkey | -------------------------------------------------------------------------- | You think you're so smart, but I've seen you naked | | and I'll prob'ly see you naked again ... | | --The Barenaked Ladies, "Blame It On Me" | -------------------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]