expected results not produced by grep
cat /var/log/mail.log |grep 'connect from unknown[192.168.1.10]' - comes up empty
cat /var/log/mail.log |grep 'connect from unknown' - this works, but too many to sift thru tia |
Quote:
Code:
cat /var/log/mail.log |grep 'connect from unknown \[192\.168\.1\.10\]' |
thnx so much. it was perfect
|
Grep is also designed to read a file directly, so you can ditch cat too :)
Code:
grep -F 'connect from unknown [192.168.1.10]' /var/log/mail.log |
All times are GMT -5. The time now is 06:14 AM. |