![terminal command to check disk space mac terminal command to check disk space mac](https://img.wonderhowto.com/img/52/79/63475273803236/0/erase-your-hard-drive-from-mac-os-x-terminal.1280x600.jpg)
Keep in mind that the df command only shows disk space for mounted filesystems. Missing disk space? Check if you have mounted all disks and partitions Since they are under root, you don’t need to count their used disk space separately.
![terminal command to check disk space mac terminal command to check disk space mac](http://www.diskspacefan.com/img/10.png)
With the loop devices, snap applications are sandboxed in their own virtual disk. Loops are virtual devices that allow normal files to be accessed as block devices. You’ll see plenty of them while checking disk space in Ubuntu because of snap applications. udev: The udev filesystem is used for storing information related to devices (like USB, network card, CD ROM etc) plugged to your system.You can ignore this virtual filesystem comfortably. tmpfs: The tmpfs (temporary filesystem) used for keeping files in virtual memory.If you have 2-3 big partitions (like root, home etc), you’ll have to make a calculation here. In my case, I have used 41% of the 232 GB of disk space under root. Root is mounted on /, EFI in /boot/EFI etc. You could identify which partition is used for what purpose from its mount point. In such cases, these partitions are reflected with a number at the end of the ‘disk name’, like /dev/sda1, /dev/nvme0n1p2 etc. Your Linux system might have several partitions on your disk for boot, EFI, root, swap, home etc. This is not a hard and fast rule but it gives you an indication to easily recognize the actual disk from the crowd. Your actual disks should normally be listed as one of the following:
#Terminal command to check disk space mac free
When you use the df command to check disk space, it will show a bunch of ‘file systems’ with their size, used space and free space. Method 1: Checking free disk space in Linux with df command (and understanding its output)