Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我跑
file -bi 'filename'
在 CentOS 中对于 3GP、3GPP2 等文件,返回值为空。对于 JPEG、GIF、MPEG 等其他文件,该命令返回正确的 MIME 类型。为什么会这样?
谢谢!
因为这些视频文件类型的幻数没有定义
你可以看看
人文件
http://linux.die.net/man/1/file