in reply to Re^4: what is grep command for and condition
in thread OT: what is grep command for and condition

Please use <c>...</c> around computer text (data, code, output, etc).

[17/Aug/2010:14:58:39 +0000] conn=102837 op=0 msgId=13496 - MOD xxxxxx +xx [17/Aug/2010:15:27:16 +0000] conn=102837 op=0 msgId=21769 - DEL xxxxxx

i just want to grep all the lines with the word "MOD" and "DEL" from the tail command ..can you help me?

You just said your file had no such line. It sounds like you want to keep all the lines that have the word "MOD" or the word "DEL". You already posted code to do that.