df

df (disk free) 其功能显示每个文件所在的文件系统的信息,默认是显示所有文件系统。
语法:
df [OPTION]… [FILE]
选项:

-a, --all             显示包括伪,重复,不可访问的文件系统
  -B, --block-size=SIZE  缩小尺寸打印; 
  -h, --human-readable  人性化显示
  -H, --si              print sizes in powers of 1000 (e.g., 1.1G)
  -i, --inodes       显示iNode信息而非块使用量
  -k                    即 --block-size=1K
  -l, --local           只显示本机上的文件系统
      --no-sync         取得使用量数据前不进行同步动作(默认)
  -P, --portability     use the POSIX output format
      --sync            invoke sync before getting usage info
      --total           elide all entries insignificant to available space,
                          and produce a grand total
  -t, --type=TYPE       只显示 TYPE 类型信息
  -T, --print-type      显示文件系统的类型
  -x, --exclude-type=TYPE   不显示 TYPE 类型信息

操作:
Linux每天记day24:df命令

相关文章: