Files
tldr/pages.zh/freebsd/df.md

32 lines
682 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# df
> 显示文件系统磁盘空间使用情况的概述。
> 更多信息:<https://man.freebsd.org/cgi/man.cgi?df>。
- 使用512字节单位显示所有文件系统及其磁盘使用情况
`df`
- 使用[人类可读]单位基于1024的幂并显示总计
`df -h -c`
- 使用[人类可读]单位基于1000的幂
`df -{{-si|H}}`
- 显示包含给定文件或目录的文件系统及其磁盘使用情况:
`df {{path/to/file_or_directory}}`
- 包括有关空闲和已用[i]节点数量的统计信息,包括文件系统[T]ypes
`df -iT`
- 写入空间数字时使用1024字节单位
`df -k`
- 以[P]ortable方式显示信息
`df -P`