If you need to find the OS version you are using and cannot use the usual methods (for example, booting from recovery partition or you only have terminal available, such as when in an SSH session)
Open these files (one for standard OS, one for server) and look at the settings labelled "ProductBuildVersion" and "ProductVersion".
In Terminal you can use the "cat" utility to display the contents, for example, type: "cat /System/Library/CoreServices/SystemVersion.plist" (without the quotes).
My latest blog post: Deontology vs Consequentialism: If we have free speech, personal freedom, equality, and truthfulness we are off to a pretty good start. (posted 2025-10-20). Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_connect(): Error while reading greeting packet. PID=87316 in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 52
Could not connect to MySQL: