find /lib -name 'core.*' -exec rm -f {} \; [download]
In reply to Re: using a subroutine by trammell in thread using a subroutine by xjlittle