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…
NAME tail – display the last part of a file DESCRIPTION The tail utility displays the contents of file or, by default, its standard input, to the standard output. The…
Software Update History information system_profiler SPInstallHistoryDataType | grep -B 1 -A 4 -E '(macOS|Security).*Update\s?(\d+-\d+)?:' Pipe to a file system_profiler SPInstallHistoryDataType | grep -B 1 -A 4 -E '(macOS|Security).*Update\s?(\d+-\d+)?:' | grep…