Disk Space In Linux(df)-Lesson(5)

Yusif Morsy
3 min readOct 12, 2020

--

The Power Of Linux

df

df stands for disk filesystem. Full summary of available and used disk space usage of the file system. device name-total blocks-total disk space- used disk space- available disk space — mount points on a file system.

df -a

displays information of dummy file systems along with all the file system.

df -k in kilo bytes

df -m in mega bytes

df- - total total for a size, used and available columns in the output.

df- -sync forces a sync resulting in the output being fully up to date.

df -P Uses a standard, portable, output format.

df -h Human Readable formats

df -hT /home or df -hT /usr -information of only device /home file system in human readable format

df -i number of used inode

df -T file system type along with other information.

df -t tmpfs displays certain file system type

df -x tmpfs excludes certain file system type

Please add your comments or send an email to the author at yamors01@louisville.edu. See you next lesson(6)

--

--

Yusif Morsy
Yusif Morsy

Written by Yusif Morsy

MBA, MSBA, PhD Student in ML & AI

No responses yet