You'll probably find that rm is aliased to "rm -i" (This seems to be default
for redhat). If you'd like rm to stop prompting permamently just remove the
alias. Alternately if you want it to stop prompting just once use -f.
# rm -rf mydir
(Oh, and be careful with "rm -rf" .. it can be very bad when done in the
wrong directory ;-)
Dave.
---
David Zverina
Alt Key Pty. Ltd.
http://www.altkey.com
PO Box 3121, Parramatta, 2124, Australia
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Vogel
> Sent: Monday, 14 February 2000 12:49
> To: [EMAIL PROTECTED]
> Subject: [SLUG] recursive rm
>
>
> When I use rm -r directory, I get prompted for each file to be deleted,
> Is there a reply other than "y" which will go ahead and delete
> everything?
>
> Or is there a better way to get rid of a directory and all its contents?
>
> Thanks
>
> Peter
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
>
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text