Eww, don't do that, you could end up in trouble!

     find / -name core -type f | xargs rm -f

is probably a safer version.

Also try:

     ulimit -c 0

in /etc/profile and /etc/csh.login to prevent core files from being
generated in the first place.

Regards,

-- Raju

>>>>> "Shridhar" == Shridhar Daithankar <[EMAIL PROTECTED]> writes:

    Shridhar> Run a cron job...  cd /;rm -f `find . -name core`

    Shridhar>  Bye Shridhar

    Shridhar> Ajitkumar wrote:

    >> can some body tell me how to control core file. Linex dumpes
    >> huge core files in our network system for various users. I have
    >> to delete it manually each time. Is it the only way to do this.
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/

----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to