[wplug] removing directories

Doug Green doug.green at verizon.net
Mon Aug 27 13:15:32 EDT 2001


To remove a directory, do the following: rm -rf directoryname
Be careful- it will NOT prompt you before it wipes out everything.

Cores can be removed safely, but you may want to figure out why something
dumped core to avoid using it in the future.

Doug

On Mon, 27 Aug 2001, 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