Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: 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'



I usually write a blog post about once a week. The latest post can be viewed here: The Right Priorities: Seems like we have the right priorities. What could possibly go wrong? (posted 2024-07-01 at 12:11:39). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-04-30 The Fall of Rome: I'm afraid that we really might be seeing the demise of the greatest era in history..
 Site ©2024 by OJBRSS FeedWhy Macs are BestMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 105,552,673
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 11ms