[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Need some scripting assistance
- Subject: [ale] Need some scripting assistance
- From: timothy at meanor.net (Tim Meanor)
- Date: Wed, 28 Jun 2006 12:56:01 -0400
- In-reply-to: <06d101c69ac2$591c5600$018410ac@win2kpro1>
- References: <06d101c69ac2$591c5600$018410ac@win2kpro1>
You could do something like this:
for i in `grep -l mail.panteq.com /var/spool/mqueue/*`;do
rm $i
done
On Jun 28, 2006, at 10:51 AM, Ryan Fish wrote:
> I am in need of help with figuring out how to grep for
> ?mail.panteq.com? within /var/spool/mqueue/* and deleting every
> message that contains this string.
>
>
>
> How would I go about doing this?
>
>
>
> RHEL3ES is the OS in question
>
>
>
> Thank you!
>
> -Ryan
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-------------- next part --------------
An HTML attachment was scrubbed...