Disclaimer

This information HAS errors and is made available WITHOUT ANY WARRANTY OF ANY KIND and without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is not permissible to be read by anyone who has ever met a lawyer or attorney. Use is confined to Engineers with more than 370 course hours of engineering.
If you see an error contact:
+1(785) 841 3089
inform@xtronics.com

Logcheck


Testing expressions

echo "Jan  7 18:02:23 firewall sSMTP[13962]: Sent mail for logcheck@firewall.example.com (221 firewall.example.com closing connection) uid=102 username=logcheck outbytes=780"| egrep -i --color "^\w{3} [ :0-9]{11} firewall sSMTP\[[0-9]+\]: Sent mail for logcheck@firewall.example.com .*$"

regular expressions rexp -

Most people use perl compatable regexpressions (pcregex) - be aware there are differences Also see visual-regexp package.
Top Page wiki Index

Email

(C) Copyright 1994-2019
All trademarks are the property of their respective owners.