df and du

df (show all disk usage)

df -T: show types
df -h: human readable.

du (show any file or directory space usage)

du: show current directories space usage as default.
du -s: just show total size.
du --time: show time of the last modification.
du -a: indlue files.
du -S: do not include subdirectory.
du -sh *: show a total of all of current files and directories.

你可能感兴趣的:(df and du)