一天一个shell命令 linux文本系列-file命令用法

2019-09-23 09:19:16于海丽

      --mime-type            打印MIME类型
      --mime-encoding        打印 MIME 编码
  -k, --keep-going           不停留在第一个匹配
  -l, --list                 列出magic深度
  -L, --dereference          跟随符号链接(缺省)
  -h, --no-dereference       不跟随符号链接
  -n, --no-buffer            不缓冲输出
  -N, --no-pad               不打印输出
  -0, --print0               NUL终止文件
  -p, --preserve-date        保持文件上的原访问时间
  -r, --raw                  不转移不可打印的字符到ooo
  -s, --special-files        把特殊(块/字符 设备)文件作为普通文件对待
  -C, --compile              编译用-m指定的文件
  -d, --debug                打印调试信息

Report bugs to http://bugs.gw.com/