使用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.。