file
从中得到结果/etc/mime.types
。
从那里:
应用/数学
应用程序/ ms-tnef
应用程序/ msaccess mdb
应用程序/ msword文档点
应用程序/新闻消息ID
申请/新闻传播
应用/ ocsp请求
应用/ ocsp响应
mimetype从...获取
ENVIRONMENT
XDG_DATA_HOME
XDG_DATA_DIRS
These variables can list base directories to search for data files.
The shared mime-info will be expected in the "mime" sub directory
of one of these directories. If these are not set, there will be
searched for the following directories:
$HOME/.local/share/mime
/usr/local/share/mime
/usr/share/mime
See also the "XDG Base Directory Specification"
http://freedesktop.org/Standards/basedir-spec
<http://freedesktop.org/Standards/basedir-spec>
值得注意的是mimetype手册页中的这一部分:
对于命名开关,如果可能的话,我遵循file(1)版本4.02的联机帮助页。它们似乎与IEEE Std 1003.1-2001(POSIX)的“实用程序”一章中的规范完全不同。
因此,您可以将其称为针对文件的错误,/etc/mime.types
因为vnd.ms-excel
它更准确。