[wplug] removing directories

John R R Leavitt jrrl at steampunk.com
Mon Aug 27 13:05:22 EDT 2001


rm -rf <dirname>

-r for recursive and -f for force.

-John.

Weber, Larry A wrote:

>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
>
>_______________________________________________
>wplug mailing list
>wplug at wplug.org
>http://www.wplug.org/mailman/listinfo/wplug
>





More information about the wplug mailing list