zgrep search logs

Use zgrep to recursively (-R) search the logs directory (/var/log), this doesn’t handle Apple’s asl format nicely
zgrep -R that_thing /var/log

Log for softwareupdate in log
zgrep -R softwareupdate /var/log >> ~/Desktop/sulogs.txt


No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *