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 Free Space from Terminal

To show the free space on a disk from Terminal

Use this command:
df -h
In the "Mounted on" column look for the name of the disk.
Free space is shown in the "Avail" column.

To show just the available space for a specific disk:
df -h | grep DISKNAME | awk '{print $4}'
Substitute DISKNAME with the name of the disk.

Show a summary of disk usage:
du -sh
This shows free space as a number (eg 304G).



My latest blog post: Peak Fascism: Just so you know: assassinating people who think differently than you is peak fascism! (posted 2025-09-15). My latest podcast: OJB's Podcast 2025-08-07 What is Anything?.
 ©2025 by OJBBlogMacs are BestMac Made
T: 287. H: 732,761,602
Features: RSS Feeds Feedback LogMod: 07 Jun 2024