Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.4. Mac Tip.Location: tip74 tips mac owen2 
Tip

Discuss   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: Think for Yourself: In the end, everything is just an opinion. Be skeptical, and think for yourself! (posted 2026-04-25 at 21:12:02). Or go to the Home Page of My Blog to choose a post to view.

I do podcasts too! You can listen to my latest podcast, here: OJB's Podcast 2026-04-14 How Far is that Star?: How would we really know how big the universe is? Or subscribe to my podcast RSS feed, on my RSS Feeds page.

If you're not sure what to view from the thousands of pages on my site, here are some suggestions: My Latest Airshow Report (photos and movies from Warbirds Over Wanaka, 2026), My Favourite Wines and Beers (tasting notes for some of my favourites), An Interesting Astronomical Observation (learn a bit about astronomy from these observing notes), See Some Photos (A short rail journey through the Taieri Gorge), Read Some Mac Tips (Learn about how to use your Mac, and fix some problems).


Latest Site News and Notifications (Desktop): You are currently viewing OJB's web site, version 2.4 which has some major changes, and possibly errors! Please report any problems to ojb@mac.com.

 Site ©2026 by OJBOJB's BlogMicrosoft Free ZoneMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 1,001,193,555
Description: Mac TipLogged: nothingLoad Timer: 58ms