[wplug] removing directories

Weber, Larry A laweber at switch.com
Mon Aug 27 12:56:15 EDT 2001


The process of building and installing new programs or libraries usually
involves the creation of many temporary directories.  Is there an easy way
to delete these directories after I complete the installation. (Something
like windows, deltree).

As root I have tried rmdir and rm -d,  neither of which will remove a
directory containing a file.  rm -r works but prompts me before deleting
every file.  I also noticed that rm asks me to confirm every delete.  I
thought it would only do that with the -i option.

I have found a file titled 'core' in my home directory and another in my
/root directory, different dates and sizes.  They are large files 2 to 8
meg.  I don't know what created them.  Can they be removed?

(Distro is RH7.1)

-laweber




More information about the wplug mailing list