Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Web Site. V 2.1.tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Show Specs from Command Line

It can be useful to retrieve information about a Mac from the command line.
For example, if you have booted into recovery mode or to an installer, or you have done a remote SSH session to another computer.

This command shows piles of stuff, but is slow: system_profiler

Shows lots of system paramaters, fast: sysctl -a

Show running OS version: sw_vers

Show OS version on disk: cat /Volumes/Macintosh\ HD/System/Library/CoreServices/SystemVersion.plist.
Note: Assumes disk is called "Macintosh HD".

Show free space on volumes: df -H

Show model number only: system_profiler SPHardwareDataType | grep 'Model Identifier'



My latest blog post: Learning from Failure: I think there is a place for parties with views I find insane. (posted 2024-11-28). My latest podcast: OJB's Podcast 2024-08-22 Stirring Up Trouble.
 ©2024 by OJBRSS FeedMS Free ZoneMac Made
T: 11. H: 170,711,366
Features: RSS Feeds Feedback LogMod: 07 Jun 2024