![Check disk space mac terminal](https://kumkoniak.com/106.jpg)
![check disk space mac terminal check disk space mac terminal](https://i.stack.imgur.com/9n2IX.png)
If you see no messages, then you can assume that diskutil hasn’t found any errors, and you can move on.
![check disk space mac terminal check disk space mac terminal](https://nektony.com/wp-content/uploads/2020/04/how-to-view-disk-space-on-mac-min.png)
So for an external drive named “BackupStuff” you would enter:ĭiskutil verifyvolume /Volumes/BackupStuff/ Or, if you have an external drive attached, you can type or paste in the following:ĭiskutil verifyvolume /Volumes// So, for your main hard drive, you could type or paste in something like: Once launched, type or paste in the following command. Launch Terminal from your Dock, Utilities folder, or via an app launcher like Alfred. Use the mount point (in the Mounted on column) to specify the drive you want to check.Verify and Repair Disk Permissions via Terminal (Mac OS X)ĭiskutil repairPermissions / Verify and Repair Volume via Terminal (Mac OS X) This displays the usage on your primary hard drive. The df command can be used to display a specific file system: df -h /dev/sda2 These are the files that prevent multiple users from changing the same file at the same time. For example, the tmpfs /run/lock is used to create lockfiles. These are used by /run and other Linux processes as temporary filesystems for running the operating system.
- tmpfs – You may have several of these.
- This is part of the Linux operating system.
udev – This is a virtual directory for the /dev directory.It may be listed as /sda1, /sda0, or you may even have more than one. /dev/sda2 – This is your physical hard drive.The list of filesystems includes your physical hard drive, as well as virtual hard drives: This is also sometimes called a mount point. Mounted on – This is the directory where the file system is located.Use% – Shows the percent of the disk used.Avail – The amount of unused (free) space on the filesystem.Used – Amount of space used on each filesystem.This includes physical hard drives, logical (partitioned) drives, and virtual or temporary drives. Filesystem – This is the name of each particular drive.The df command lists several columns: Filesystem Size Used Avail Use% Mounted on