Thanks (again) to Rich Trouton for showing us a way of testing connectivity and uptime You can use curl to create a telnet connection using a command similar to the…
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…
NAME du -- display disk usage statistics DESCRIPTION The du utility displays the file system block usage for each file argument and for each directory in the file hierarchy rooted…
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…