Patrick-Dussault

unxutils :: sample of grep command

Blog Post created by Patrick-Dussault Employee on Apr 6, 2016

Here's a sample of a grep when we want to show only lines with "SmLimitAuthLogin: About to flush the cache" or "Saving 'AgentCommand'" key words :

 

grep -E "(SmLimitAuthLogin: About to flush the cache|Saving 'AgentCommand')" smtracedefault*.log

Outcomes