[wplug] removing directories
Benjamin Rice
brice at isrv.com
Mon Aug 27 13:19:12 EDT 2001
Hi,
What would work for you is rm -rf. The reason why it is doing this is
because in your /etc/profile or /etc/bashrc there is an alias for rm that
has it prompting you for deltion of files while as root. The option that
prompts is -i. If you type alias you will see the aliases. Hope this
helps.
Ben Rice
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