LINUX怎么判断一个文件是2进制?

使用file命令加文件名会显示文件属性man file--------------------------------------- NAMEFIle — determine file typeSYNOPSISfile [-bchiklLNnprsvz0] [--apple] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ...file -C [-m magicfiles]file [--help]DESCRIPTIONTHIS manual page documents version 5.11 of the file command.file tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic tests, and language tests. The first testthat succeeds causes the file type to be printed.。


文章TAG:root二进制文件  x5pro卡刷root后二进制文件更新  root  二进制  二进制文件  
没有了