df
df -h
df -h /dev/sda2
df -h /
df -ht ext4
du -H
du
du
human-readable
du -h
This shows how much space the current directory uses.
du -hs
du -hs /etc/kernel-img.conf
df -m
df -i
df -T
df -t ext3
df -x ext3
df --help
this command is used to display information related to file sustems about total space availabel
1) $ df filename
display all standard file systems on your computer
$ df -a
finds information of a specific file
$df /first_number/ numbers.txt
shows information about inodes input
$ df -i numbers.txt
shows the file system type
$ df -T numbers.txt
shows the grand total of the file
$ df --total numbers.txt
exclude the file system types
$ -x xfs numbers.txt
print sizes in humna readable format
$ df -h numbers.txt
output version information
$ df -- version
use the POSIX outpur format
$df -P file.txt