Living in the Shell #19; df (Report Disk Free Space)

df 💾

Reports disk free space.

See disk free space

df

Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1603540 2068 1601472 1% /run
/dev/nvme0n1p3 471738592 268747932 178957944 61%…


This content originally appeared on DEV Community and was authored by Babak K. Shandiz

df 💾

Reports disk free space.

See disk free space

df
Filesystem     1K-blocks      Used Available Use% Mounted on
tmpfs            1603540      2068   1601472   1% /run
/dev/nvme0n1p3 471738592 268747932 178957944  61% /
tmpfs            8017688    327492   7690196   5% /dev/shm
tmpfs               5120         4      5116   1% /run/lock
tmpfs               4096         0      4096   0% /sys/fs/cgroup
/dev/nvme0n1p1    244988      5304    239684   3% /boot/efi
tmpfs            1603536       120   1603416   1% /run/user/1000

Note that the values are in kilobytes.

Human-readable size values -h

df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           1.6G  2.1M  1.6G   1% /run
/dev/nvme0n1p3  450G  257G  171G  61% /
tmpfs           7.7G  313M  7.4G   4% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
/dev/nvme0n1p1  240M  5.2M  235M   3% /boot/efi
tmpfs           1.6G  120K  1.6G   1% /run/user/1000

Include file-system type -T

df -hT
Filesystem     Type   Size  Used Avail Use% Mounted on
tmpfs          tmpfs  1.6G  2.1M  1.6G   1% /run
/dev/nvme0n1p3 ext4   450G  257G  171G  61% /
tmpfs          tmpfs  7.7G  296M  7.4G   4% /dev/shm
tmpfs          tmpfs  5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs  4.0M     0  4.0M   0% /sys/fs/cgroup
/dev/nvme0n1p1 vfat   240M  5.2M  235M   3% /boot/efi
tmpfs          tmpfs  1.6G  120K  1.6G   1% /run/user/1000

Produce a grand total --total

df -h --total
Filesystem      Size  Used Avail Use% Mounted on
...
total           461G  257G  182G  59% -


This content originally appeared on DEV Community and was authored by Babak K. Shandiz


Print Share Comment Cite Upload Translate Updates
APA

Babak K. Shandiz | Sciencx (2021-12-18T19:55:20+00:00) Living in the Shell #19; df (Report Disk Free Space). Retrieved from https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/

MLA
" » Living in the Shell #19; df (Report Disk Free Space)." Babak K. Shandiz | Sciencx - Saturday December 18, 2021, https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/
HARVARD
Babak K. Shandiz | Sciencx Saturday December 18, 2021 » Living in the Shell #19; df (Report Disk Free Space)., viewed ,<https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/>
VANCOUVER
Babak K. Shandiz | Sciencx - » Living in the Shell #19; df (Report Disk Free Space). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/
CHICAGO
" » Living in the Shell #19; df (Report Disk Free Space)." Babak K. Shandiz | Sciencx - Accessed . https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/
IEEE
" » Living in the Shell #19; df (Report Disk Free Space)." Babak K. Shandiz | Sciencx [Online]. Available: https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/. [Accessed: ]
rf:citation
» Living in the Shell #19; df (Report Disk Free Space) | Babak K. Shandiz | Sciencx | https://www.scien.cx/2021/12/18/living-in-the-shell-19-df-report-disk-free-space/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.