红旗Linux5.0 用“file”命令验明文件正身(转)[@more@] file 命令的使用方法非常简单。格式为:file <文件路径> <文件名>。

400) {this.resized=true; this.width=400; this.alt='Click here to open new window';}" border=0>
现在终端返回的信息是说这是文本文件。不过这个命令能支持各种文件,现在看看可执行文件返回什么信息。

400) {this.resized=true; this.width=400; this.alt='Click here to open new window';}" border=0>
哇!这回信息可真详细啊。说是 32 位的可执行文件。支持处理器 Intel 80386。要求 Linux 内核版本 2.2.5。是一个拥有图形界面的程序喔!现在来看看图片文件会返回什么信息呢?

400) {this.resized=true; this.width=400; this.alt='Click here to open new window';}" border=0>
原来说是 JPEG 图片数据。JFIF 版本 standard 1.01。现在各位朋友在 Linux 系统里还有不认识的文件吗?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10617542/viewspace-945627/
,如需转载,请注明出处,否则将追究法律责任。