[ale] Need some scripting assistance
Tim Meanor
timothy at meanor.net
Wed Jun 28 12:56:01 EDT 2006
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...
More information about the Ale
mailing list