df(disk free) command df command is used to display information related to file systems about total space and available space To display th...
df(disk free) command
df command is used to display information related to file systems about total space and available space
To display the total space and available space for the current directory
df
To display the total space and available space for the root directory
df /
To display the total space and available space in human-readable format (like in MB or GB)
df -h
To display the total space and available space with the File system
df -T
To display the total space of the disk
df --total
To display human-readable with size in the power of 1000
df -H
To see the help of the df command
man df
df --help
du(Disk Usage) command
To find the disk usage of files and directories.
To display the disk usage summary of a current directory tree and each of its subdirectories.
du
To display the disk usage summary in the human-readable format of a current directory tree and each of its subdirectories.
du -h
To display the summary of a grand total disk usage size of a directory
du -sh
To display the disk usage of all the files and directories
du -a
du -ah
To display directory tree and its subtree in Kilobytes
du -k
COMMENTS