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).
I usually write a blog post about once a week. The latest post can be viewed here: End of Another Error: I have go to say that this is both a happy and sad milestone in my life. (posted 2025-12-19 at 22:16:32). Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59
Warning: mysqli_connect(): Error while reading greeting packet. PID=48874 in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 60
Could not connect to MySQL: