At 6:06 PM +0300 10/19/00, Turgut Kalfaoglu wrote:
>Let's assume that you have successfully ignored the patches,
>and announcements, and ended up with a system (Mandrake 7.1)
>that has over 5 MILLION files on its /var/log/mail and /news directories.
>
>Let's also assume that when you type:
>   [root@db2 mail]# rm *
>you get:
>   bash: /bin/rm: Argument list too long
>
>any ideas what you can do to save your servers? :)

This should work.  The syntax is for tcsh, but it should be similar in bash:

# tcsh
# foreach foo (*)
# /bin/rm $foo
# end
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   smalltime industries bringing you the latest in
   interplanetary transport technology, interactive
   web games, dada, art, poetry and pants.
   www.smalltime.com  ...... visit early and often
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to