查看文件类型

根据16进制判断文件类型

利用file命令查询(Linux)

#cd 到目录下
file *

用 file命令查看文件类型

直接问gpt

关键词 “文件头FFD8FF是什么类型”
gpt查看文件类型

常见的文件类型汇总

扩展名文件头标识(HEX)文件描述
12300001A00051004Lotus1-2-3spreadsheet(v9)file
3gg;3gp;3g2000000nn667479703367703rdGenerationPartnershipProject3GPP(nn=0x14)and3GPP2(nn=0x20)multimediafiles
7z377ABCAF271C7-ZIPcompressedfile
aba00014241PalmAddressBookArchivefile
abi414F4C494E444558AOLaddressbookindexfile
aby;idx414F4C4442AOLdatabasefiles:addressbook(ABY)anduserconfigurationdata(MAIN.IDX)
accdb000100005374616E6461726420414345204442MicrosoftAccess2007file
ACM4D5AMSaudiocompressionmanagerdriver
ADF444F53Amigadiskfile
adx0300000041505052LotusApproachADXfile
AIFF464F524D00AudioInterchangeFile
ain2112AINCompressedArchiveFile
ami5B7665725DLotusAmiPro
amr2321414D52AdaptiveMulti-RateACELP(AlgebraicCodeExcitedLinearPrediction)Codec,commonlyaudioformatwithGSMcellphones
ANI52494646NULL
API4D5A900003000000Acrobatplug-in
arc1A0xLHarchivefile,oldversion(wherex=0x2,0x3,0x4,0x8or0x9fortypes1-5,respectively)
arc41724301FreeArccompressedfile
arj60EAARJCompressedArchive
ARJ60EA27NULL
ART4A47030E000000AOLARTfile
ART4A47040E000000AOLARTfile
asf3026B2758E66CF11WindowsMedia
asf;wma;wmv3026B2758E66CF11A6D900AA0062CE6CMicrosoftWindowsMediaAudio/VideoFile(AdvancedStreamingFormat)
asx3CAdvancedStreamredirectorfile
au2E736E64SoundMachineAudioFileNeXT/SunMicrosystemsμ-Lawaudiofile
avi41564920AudioVideoInterleave(AVI)
AX4D5ALibrarycachefile
AX4D5A900003000000DirectShowfilter
bag414F4C2046656564626167AOLandAIMbuddylistfile
BAS202020NULL
bin424C4932323351ThomsonSpeedtouchseriesWLANrouterfirmware
bmp424DWindowsBitmap
BMP424D3ENULL
bz;bz2425A68BZIPArchive
BZ2;TAR.BZ2;TBZ2;TB2425A68bzip2compressedarchive
CAB495363NULL
CAB;HDR49536328InstallShieldv5.xor6.xcompressedfile
CAB4D534346MicrosoftCABFileFormat
cat30Microsoftsecuritycatalogfile
CBD434246494C45WordPerfectdictionaryfile(unconfirmed)
CCD5B436CNULL
cdrCDRCorelDraw
CDR454C49544520436F6D6D616E64657220ElitePlusCommandersavedgamefile
CDR,DVF4D535F564F494345SonyCompressedVoiceFile
CHI;CHM49545346MicrosoftCompiledHTMLHelpFile
CHM495453NULL
CLB434D5831CorelBinarymetafile
CLB434F4D2BCOM+Catalogfile
cnt3A42617365NULL
COM,DLL,DRV,EXE,PIF,QTS,QTX,SYS4D5AWindows/DOSexecutablefile
COM4D5AEENULL
COME93B03NULL
CPE464158434F5645522D564552MicrosoftFaxCoverSheet
CPL4D5AControlpanelapplication
CPT4350543746494C45CorelPhotopaintfile
CPT43505446494C45CorelPhotopaintfile
CPX5B5769NULL
cru;crush4352555348CRUSHArchiveFile
CRU43525553482076Crushcompressedarchive
CRW49491A00000048454150434344520200CanondigitalcameraRAWfile
CTF436174616C6F6720332E303000WhereIsItCatalogfile
CUR0000020001002020Windowscursorfile
dat3MapInfoNativeDataFormat
dat1A52545320434F4D5052455353454420494D4147452056312E301ARuntimeSoftwarediskimage
dat415647365F496E746567726974795F4461746162617365AVG6Integritydatabasefile
DAT43524547Windows9xregistryhive
DAT436C69656E742055726C4361636865204D4D462056657220IEHistoryDATfile
DAT45524653534156454441544146494C45KrollEasyRecoverySavedRecoveryStatefile
DAT496E6E6F20536574757020556E696E7374616C6C204C6F6720286229InnoSetupUninstallLogfile
db0006156100000002000004D200001000NetscapeNavigator(v4)databasefile
DB44424648PalmZirephotodatabase
db8dBASEIVordBFastconfigurationfile
db33dBASEIIIfile
db44dBASEIVdatafile
dba00014244PalmDateBookArchivefile
dbxCFAD12FENULL
dbxCFAD12FEC5FD746FOutlookExpress
dci3C21646F63747970AOLHTMLmailfile
dcx3ADE68B1DCXGraphicFile
DDB000100NULL
dib424Ddevice-independentbitmapimage
DLL4D5A90NULL
DMP4D444D5093A7Windowsminidumpfile
DMS444D5321AmigaDiskMashercompressedarchive
doc0D444F43DeskMateDocumentfile
doc1234567890FFMSWord6.0
doc31BE000000AB0000MSWordforDOS6.0
doc7FFE340AMSWord
dot;ppt;xla;ppa;pps;pot;msi;sdw;dbD0CF11E0MSOffice/OLE2
doc;dot;xls;xlt;xla;ppt;apr;ppa;pps;pot;msi;sdw;dbD0CF11E0A1B11AE1MSCompoundDocumentv1orLotusApproachAPRfile
DPL4D5A50NULL
DRV4D5A16NULL
drw7Acommonsignatureandfileextensionformanydrawingprograms.
drw01FF02040302Micrografxvectorgraphicfile
ds44D47582069747064MicrografixDesigner4
DSN4D56CDStomperProlabelfile
dsp23204D6963726F736F667420446576656C6F7065722053747564696FMicrosoftDeveloperStudioprojectfile
dss02647373DigitalSpeechStandard(Olympus,Grundig,&Phillips)
dtd0764743264647464DesignTools2DDesignfile
dtd3C21454E54495459XMLDTD
DVR445644DVR-Studiostreamfile
dwg414331NULL
Enn(wherennarenumbers)455646EnCaseevidencefile
ECO2A5052NULL
elf7F454C4601010100ELFExecutable
emf0100000058000000Extended(Enhanced)WindowsMetafileFormat,printerspoolfile
eml44656C69766572792D646174653AEmail
EML46726F6D202020Acommmonfileextensionfore-mailfiles.SignaturesshownhereareforNetscape,Eudora,andagenericsignature,respectively.EMLisalsousedbyOutlookExpressandQuickMail.
EML46726F6D203F3F3FAcommmonfileextensionfore-mailfiles.SignaturesshownhereareforNetscape,Eudora,andagenericsignature,respectively.EMLisalsousedbyOutlookExpressandQuickMail.
EML46726F6D3A20Acommmonfileextensionfore-mailfiles.SignaturesshownhereareforNetscape,Eudora,andagenericsignature,respectively.EMLisalsousedbyOutlookExpressandQuickMail.
EML526563NULL
enc005C41B1FFMujahideenSecrets2encryptedfile
enl[32byteoffset]40404020000040404040EndNoteLibraryFile
eps25215053AdobeEPSFile
eps252150532D41646F6265Postscript
eps252150532D41646F62652D332E3020455053462D332030AdobeencapsulatedPostScriptfile(Ifthissignatureisnotattheimmediatebeginningofthefile,itwilloccurearlyinthefile,commonlyatbyteoffset30)
EPSC5D0D3NULL
eth1A350100GNNettestWinPharoahcapturefile
evt300000004C664C65WindowsEventViewerfile
evt03000000C466C456NULL
EVTX456C6646696C6500WindowsVistaeventlogfile
exe;dll;drv;vxd;sys;ocx;vbx4D5AWin32Executable
exe;dll;drv;vxd;sys;ocx;vbx4D5AWin16Executable
exe;com;386;ax;acm;sys;dll;drv;flt;fon;ocx;scr;lrc;vxd;cpl;x324D5AExecutableFile
EXE,DLL,OCX,OLB,IMM,IME4D5A90NULL
fli0011AFFLICAnimationfile
flt000101OpenFlight3Dfile
FLT4D5A900003000000Auditiongraphicfilterfile(Adobe)
FLV464C5601Flashvideofile
fm3C4D616B657246696C6520AdobeFrameMakerfile
fm300001A0007800100Lotus123v3FMTfile
fmt20006800200Lotus123v4FMTfile
FNT434841NULL
FON4D5AFontfile
GBC87F53ENULL
gid3F5F0300WindowsHelpIndexFile
GID4C4E0200WindowsHelpindexfile
GIF47494638NULL
gif474946383761Graphicsinterchangeformatfile(GIF87A)
gif474946383961Graphicsinterchangeformatfile(GIF89A)
GTD7B5072NULL
GX2475832ShowPartnergraphicsfile(notconfirmed)
gz;tar;tgz1F8BGzipArchiveFile
gz;tgz1F8B08GZCompressedFile
hap91334846HAPArchiveFile
HDMP4D444D5093A7Windowsheapdumpfile
hdr233F52414449414E43450AadianceHighDynamicRangeimagefile
HLP3F5F03NULL
hlp3F5F0300WindowsHelpfile
HLP4C4E0200WindowsHelpfile
hlp[7byteoffset]0000FFFFFFFFWindowsHelpfile
hqx28546869732066696C65MacintoshBinHex4CompressedArchive
hqx28546869732066696C65206D75737420626520636F6E76657274656420776974682042696E48657820MacintoshBinHex4CompressedArchive
HTM3C2144NULL
htm;html3C21444F4354HyperTextMarkupLanguage3
htm;html3C48544D4C3EHyperTextMarkupLanguage2
htm;html3C68746D6C3EHyperTextMarkupLanguage1
html68746D6C3EHTML
ico0000010000IconFile
ico0000010001002020IconFile
IFF464F524DNULL
IFO445644DVDinfofile
IME4D5A90NULL
img000100080001000101VenturaPublisher/GEMVDIImageFormatBitmapfile
IMG00FFFFNULL
IMM4D5A90NULL
ind414F4C494458AOLclientpreferences/settingsfile(MAIN.IND)
ISO4344303031ISO-9660CDDiscImage(Thissignatureusuallyoccursatbyte8001,8801,or9001.)
ivr2E524543RealPlayervideofile(V11andlater)
JAR4A4152435300JARCScompressedarchive
jar5F27A889JARArchiveFile
jpg;jpegFFD8FFNULL
jpg;jpe;jpegFFD8FFE000JPGGraphicFile
jpg;jpe;jpegFFD8FFFE00JPGGraphicFile
KGB4B47425F61726368202DKGBarchive
KOZ49443303000000SprintMusicStoreaudiofile(formobiledevices)
LDB42494CNULL
lha2D6C68352DLHACompressed
lha;lzh[2byteoffset]2D6C68Compressedarchivefile
LHP3F5F03NULL
lhp3F5F0300WindowsHelpFile
lib213C617263683E0AUnixarchiver(ar)filesandMicrosoftProgramLibraryCommonObjectFileFormat(COFF)
LIB2A2420NULL
LIT49544F4C49544C53MicrosoftReadereBookfile
LNK4C0000NULL
lnk4C000000WindowsShortcut(LinkFile)
lnk4C000000011402WindowsLinkFile
LNK4C00000001140200Windowsshortcutfile
log2A2A2A2020496E7374616C6C6174696F6E205374617274656420SymantecWiseInstallerlogfile
lzhlhLzcompressionfile
lwp576F726450726FLotusWordProv9
m3u234558NULL
m4a00000020667479704D34412000000000AppleLosslessAudioCodecfile
m4a;m4v00000020667479704D34412000000000QuickTimeM4A/M4Vfile
manifest3C3F786D6C2076657273696F6E3DWindowsVisualStylesheetXMLfile
MAR4D41523100Mozillaarchive
MAR4D415243Microsoft/MSNMARCarchive
MAR4D41723000MArcompressedarchive
maxD0CF11NULL
mdb000100005374616E64617264204A6574204442MicrosoftAccessfile
mdb;mda;mde;mdt5374616E64617264204AMSAccess
MDF00FFFFNULL
mdf00FFFFFFFFFFFFFFFFFFFF0000020001Alcohol120%CDimage
mdf010F0000MicrosoftSQLServer2000database
MDI4550MicrosoftDocumentImagingfile
MDS4D4544NULL
MID;MIDI4D546864MusicalInstrumentDigitalInterface(MIDI)soundfile
mkv1A45DFA3934282886D6174726F736B61Matroskastreamfile
MLS4D494C4553Milestonesv1.0projectmanagementandschedulingsoftware(Alsosee“MV2C”and“MV214”signatures)
MLS4D4C5357Skypelocalizationdatafile
MLS4D56323134Milestonesv2.1bprojectmanagementandschedulingsoftware(Alsosee“MILES”and“MV2C”signatures)
MLS4D563243Milestonesv2.1aprojectmanagementandschedulingsoftware(Alsosee“MILES”and“MV214”signatures)
MMF4D4D4D440000YamahaCorp.SyntheticmusicMobileApplicationFormat(SMAF)formultimediafilesthatcanbeplayedonhand-helddevices.
mny000100004D534953414D204461746162617365MicrosoftMoneyfile
MOV00000FNULL
MOV000077NULL
mov6D6F6F76Quicktime
mov6D646174QuickTimeMovie
mp0CEDMonochromePictureTIFFbitmapfile(unconfirmed)
MP3494433MPEG-1AudioLayer3(MP3)audiofile
MP3FFFB50NULL
mp4000000186674797033677035MPEG-4videofiles
MPA000001NULL
mpg;mpeg000001B3MPEGMovie
mpg000001BAMPEG
MSC3C3F78NULL
msc3C3F786D6C2076657273696F6E3D22312E30223F3E0D0A3C4D4D435F436F6E736F6C6546696C6520436F6E736F6C6556657273696F6E3D22MicrosoftManagementConsoleSnap-inControlfile
msi2320Cerius2file
MSV4D535F564F494345SonyMemoryStickCompressedVoicefile
NES4E4553NULL
NLSC22020NULL
nri0E4E65726F49534FNeroCDCompilation
ntf1A0000LotusNotesdatabasetemplate
nsf;ntf1A0000030000LotusNotesDatabase/Template
nsf1A00000300001100NotesDatabase
nsf1A0000040000LotusNotesdatabase
ntf30314F52444E414E43452053555256455920202020202020NationalTransferFormatMapFile
obj4C01MicrosoftCommonObjectFileFormat(COFF)relocatableobjectcodefileforanIntel386orlater/compatibleprocessors
OCX4D5AActiveXorOLECustomControl
OCX4D5A90NULL
OLB4D5AOLEobjectlibrary
OLB4D5A90NULL
org;pfc414F4C564D313030AOLpersonalfilecabinet(PFC)file
pak1A0BCompressedarchivefile
PAT4746315041544348AdvancedGravisUltrasoundpatchfile
PAT47504154GIMP(GNUImageManipulationProgram)patternfile
PBK5B4144NULL
PCB17A150NULL
PCS0A0501NULL
pcx0Ann0101ZSOFTPaintbrushfile(wherenn=0x02,0x03,or0x05)
pcx0A050108PCPaintbrush(oftenassociatedwithQuakeEnginegames)
pdb[11byteoffset]000000000000000000000000000000000000000000000000PalmpilotDatabase/DocumentFile
PDF255044NULL
pdf;fdf25504446AdobePortableDocumentFormatandFormsDocumentfile
pdf255044462D312EAdobeAcrobat
PDG484802NULL
pf1100000053434341Windowsprefetchfile
pic0100000001Unknowntypepicturefile
PJT000007NULL
PLL24536FNULL
PNG89504ENULL
PNG89504E47NULL
png89504E470D0APNGImageFile
png89504E470D0A1A0APNGImageFile
PPC526563NULL
PPTD0CF11NULL
ppt[512byteoffset]006E1EF0PowerPointpresentationsubheader(MSOffice)
ppt[512byteoffset]0F00E803PowerPointpresentationsubheader(MSOffice)
PPZ4D534346PowerpointPackagedPresentation
prc424F4F4B4D4F4249Palmpilotresourcefile
PRG234445NULL
ps252150532D41646F6265Postscript
PSD384250NULL
psd38425053AdobePhotoshopimagefile
psp7E424B00PaintShopProImageFile
pst2142444EMicrosoftOutlookPersonalFolderfile
pwlE3828596WindowsPassword
qbb458600000600IntuitQuickBooksBackupfile
qdfAC9EBD8FQuicken
qph03000000Quickenpricehistoryfile
qt6D646174QuicktimeMovieFile
qxd00004D4D585052NULL
ra2E524D460000001200RealAudiofile
ra;ram2E7261FDRealAudioFile
ra2E7261FD00RealAudiostreamingmediafile
RAR526172NULL
rar52617221RARArchiveFile
RAW060500NULL
reg5245474544495434NULL
rgb01DA01010003SiliconGraphicsRGBBitmap
RM2E524DNULL
rm;rmvb2E524D46RealMediastreamingmediafile
rpmEDABEEDBRPMArchiveFile
RTD43232B44A4434DA5486472RagTimedocumentfile
RTF7B5C72NULL
rtf7B5C727466RichTextFormatFile
sav24464C3240282329205350535320444154412046494C45SPSSDatafile
SBV46454446(Unknownfiletype)
SCH2A7665NULL
scm805343NULL
SH34848474231HarvardGraphicspresentationfile
SHD4B490000Windows9xprinterspoolfile
sit53495421Stuffitv1ArchiveFile
sit53747566664974Stuffitv5ArchiveFile
sle3A56455253494F4ESurfplankiteprojectfile
sle414376teganosSecuritySuitevirtualsecuredrive
sly;srt;slt53520100Sagesly.or.srt.or.slt
SMD00FFFFNULL
snm001E849000000000NetscapeCommunicator(v4)mailfolder
SNP4D534346MicrosoftAccessSnapshotViewerfile
sol00BFAdobeFlashsharedobjectfile(e.g.,Flashcookies)
spl00000100WindowsNT/2000/XPprinterspoolfile
SCR4D5AScreensaver
SUBFFFFFFNULL
SWF435753ShockwaveFlashfile(v5+)
SWF465753MacromediaShockwaveFlashplayerfile
sxccalcOpenOfficeCalc
sxddrawOpenOfficeDraw
sxiimpressOpenOfficeImpress
sxmmathOpenOfficeMath
sxwwriterOpenOfficeWriter
syw414D594FHarvardGraphicssymbolgraphic
TAG000002NULL
tar;cpio303730373037CPIOArchiveFile
tar.z1F9D90Compressedtapearchivefile
tga0000100000RLE压缩的前5字节
TGA000002NULL
tga0000020000未压缩的前5字节
TIF;TIFF492049TaggedImageFileFormatfile
tif;tiff49492ATIFF(Intel)
tif;tiff49492A00TaggedImageFileFormatfile(littleendian,i.e.,LSBfirstinthebyte;Intel)
TIF;TIFF4D4D002ATaggedImageFileFormatfile(bigendian,i.e.,LSBlastinthebyte;Motorola)
tif;tiff4D4D2ATIFF(Motorola)
TIF;TIFF4D4D002BBigTIFFfiles;TaggedImageFileFormatfiles>4GB
TLB4D53465402000100OLE,SPSS,orVisualC++typelibraryfile
tr10110NovellLANalyzercapturefile
TST000100NULL
TTF000100NULL
ufa554641UFAArchiveFile
VBX4D5AVisualBASICapplication
VCD454E5452595643440200000102001858VideoVCD(GNUVCDImager)file
vcf424547494E3A56434152440D0AvCardfile
vob000001BADVDVideoMovieFile(video/dvd,video/mpeg)
VXD,3864D5AWindowsvirtualdevicedrivers
WAV524946NULL
wav57415645Wave
wav57415645666D74WaveFiles
wb200000200QuattroProforWindowsSpreadsheetfile
wb3[24byteoffset]3E000300FEFF090006QuatroProforWindows7.0Notebookfile
wk1;wks2000604060Lotus123v1Worksheet
wk10000020006040600080000000000Lotus1-2-3spreadsheet(v1)file
wk300001A0000100400Lotus123spreadsheet(v3)file
wk4;wk500001A0002100400Lotus1-2-3spreadsheet(v4,v5)file
wks0E574B53DeskMateWorksheet
WMA3026B2NULL
wmf01000900GraphicsMetafile
wmf010009000003WindowsMetadatafile(Win3.xformat)
wmf02000900GraphicsMetafile
wmfD7CDC69AWindowsMetaFile
WMV3026B2NULL
wpFF575043WordPerfectv5orv6
wpdFF575043WordPerfect
wpgFF575047WordPerfectGraphics
wri31BEMicrosoftWritefile
WRI31BE00NULL
wri32BEMicrosoftWritefile
ws1D7DWordStarVersion5.0/6.0document
XBE584245NULL
xdr3CBizTalkXML-DataReducedSchemafile
xls0902060000001000B9045C00MSExcelv2
xls0904060000001000F6055C00MSExcelv4
XLSD0CF11NULL
xlsD0CF11E0MSExcel
xls[512byteoffset]0908100000060500Excelspreadsheetsubheader(MSOffice)
XML3C3F78NULL
xml3C3F786D6CXMLDocument
xmlFFFE3C0052004F004F0054005300540055004200XMLDocument(ROOTSTUB)
XMV005001NULL
XSLFFFE3CNULL
xul7273696F6E3D22313C3F786D6C2076652E30223F3EXMLUserInterfaceLanguagefile
z1F9DTARCompressedArchiveFile
Z1F9D8CNULL
ZIP504B03NULL
zip;jar;zipx504B0304ZIPArchive
zip504B3030ZIPArchive(outdated)
Zip504B3030504B0304WINZIPCompressed
zoo5A4F4F20ZOOArchiveFile
  • 12
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值