SUFFIXES(7)
๐ NAME ๐
suffixes โ list of file suffixes ๐
okay so real quick, bestie: this is the suffixes(7) page from the Miscellaneous Information Manual, and it's lowkey one of the most useful little cheat sheets on the whole system, no cap. It's justโฆ every file ending. All of them. Slay. ๐ฆ
โจ DESCRIPTION โจ
So here's the vibe: it's customary to hint at what's inside a file using its file suffix, which (typically) is a period followed by one or more letters. Like, it's giving "trust me, I'm a .txt" energy.
Tons of standard utilities โ compilers, especially โ use the suffix to figure out what kind of file they're looking at. And the make(1) utility? Its whole rules situation is driven by file suffixes. So yeah, these little dots matter.
Here's a list of suffixes you're likely to run into on a Linux system ๐ง:
,vโ files for RCS (Revision Control System)-โ backup file.Cโ C++ source code, equivalent to.cc.Fโ Fortran source withcpp(1)directives or file compressed usingfreeze.Sโ assembler source withcpp(1)directives.Yโ file compressed usingyabba.Zโ file compressed usingcompress(1).[0-9]+gfโ TeX generic font files.[0-9]+pkโ TeX packed font files.[1-9]โ manual page for the corresponding section.[1-9][a-z]โ manual page for section plus subsection.aโ static object code library.adโ X application default resource file.adaโ Ada source (may be body, spec, or combination).adbโ Ada body source.adsโ Ada spec source.afmโ PostScript font metrics.alโ Perl autoload file.amโautomake(1)input file.arcโarc(1)archive.arjโarj(1)archive.ascโ OpenPGP ASCII-armored data.asmโ (GNU) assembler source file.auโ Audio sound file.auxโ LaTeX auxiliary file.aviโ (msvideo) movie.awkโ AWK language program.bโ LILO boot loader image.bakโ backup file.bashโbash(1)shell script.bbโ basic block list data produced bygcc -ftest-coverage.bbgโ basic block graph data produced bygcc -ftest-coverage.bblโ BibTeX output.bdfโ X font file.bibโ TeX bibliographic database, BibTeX input.bmโ bitmap source.bmpโ bitmap.bz2โ file compressed usingbzip2(1).cโ C source.catโ message catalog files.ccโ C++ source.cfโ configuration file.cfgโ configuration file.cgiโ WWW content generating script or program.clsโ LaTeX Class definition.classโ Java compiled byte-code.confโ configuration file.configโ configuration file.cppโ equivalent to.cc.cshโcsh(1)shell script.cxxโ equivalent to.cc.datโ data file.debโ Debian binary package (deb(5)).defโ Modula-2 source for definition modules.defโ other definition files.descโ initial part of mail message unpacked withmunpack(1).diffโ file differences (diff(1)command output).dirโ dbm data base directory file.docโ documentation file.dscโ Debian source package control file (dsc(5)).dtxโ LaTeX package source file.dviโ TeX's device independent output.elโ Emacs-Lisp source.elcโ compiled Emacs-Lisp source.epsโ encapsulated PostScript.expโ Expect source code.fโ Fortran source.f77โ Fortran 77 source.f90โ Fortran 90 source.fasโ precompiled Common-Lisp.fiโ Fortran include files.figโ FIG image file (used byxfig(1)).fmtโ TeX format file.gifโ Compuserve Graphics Image File format.gmoโ GNU format message catalog.gsfโ Ghostscript fonts.gzโ file compressed usinggzip(1).hโ C or C++ header files.helpโ help file.hfโ equivalent to.help.hlpโ equivalent to.help.htmโ poor man's.html.htmlโ HTML document used with the World Wide Web.hqxโ 7-bit encoded Macintosh file.iโ C source after preprocessing.iconโ bitmap source.idxโ reference or datum-index file for hypertext or database system.imageโ bitmap source.inโ configuration template, especially for GNU Autoconf.infoโ files for the Emacs info browser.info-[0-9]+โ split info files.insโ LaTeX package install file for docstrip.itclโ itcl source code; itcl ([incr Tcl]) is an OO extension of tcl.javaโ a Java source file.jpegโ Joint Photographic Experts Group format.jpgโ poor man's.jpeg.jsโ JavaScript source code.jsxโ JSX (JavaScript XML-like extension) source code.kmapโlyx(1)keymap.lโ equivalent to.lexor.lisp.lexโlex(1)orflex(1)files.lhaโ lharc archive.libโ Common-Lisp library.lispโ Lisp source.lnโ files for use withlint(1).logโ log file, in particular produced by TeX.lsmโ Linux Software Map entry.lspโ Common-Lisp source.lzhโ lharc archive.mโ Objective-C source code.m4โm4(1)source.macโ macro files for various programs.manโ manual page (usually source rather than formatted).mapโ map files for various programs.meโ Nroff source using thememacro package.mfโ Metafont (font generator for TeX) source.mgpโ MagicPoint file.mmโ sources forgroff(1)inmm- format.moโ Message catalog binary file.modโ Modula-2 source for implementation modules.movโ (quicktime) movie.mpโ Metapost source.mp2โ MPEG Layer 2 (audio) file.mp3โ MPEG Layer 3 (audio) file.mpegโ movie file.oโ object file.oldโ old or backup file.origโ backup (original) version of a file, frompatch(1).outโ output file, often executable program (a.out).pโ Pascal source.pagโ dbm data base data file.patchโ file differences forpatch(1).pbmโ portable bitmap format.pcfโ X11 font files.pdfโ Adobe Portable Data Format (use Acrobat/acroread or xpdf).perlโ Perl source (see.ph,.pl, and.pm).pfaโ PostScript font definition files, ASCII format.pfbโ PostScript font definition files, binary format.pgmโ portable greymap format.pgpโ OpenPGP binary data.phโ Perl header file.phpโ PHP program file.php3โ PHP3 program file.pidโ File to store daemon PID (e.g.,crond.pid).plโ TeX property list file or Perl library file.pmโ Perl module.pngโ Portable Network Graphics file.poโ Message catalog source.podโperldoc(1)file.ppmโ portable pixmap format.prโ bitmap source.psโ PostScript file.pyโ Python source.pycโ compiled python.qtโ quicktime movie.rโ RATFOR source (obsolete).rejโ patches thatpatch(1)couldn't apply.rpmโ RPM software package.rtfโ Rich Text Format file.rulesโ rules for something.sโ assembler source.saโ stub libraries fora.outshared libraries.scโsc(1)spreadsheet commands.scmโ Scheme source code.sedโ sed source file.sgmlโ SGML source file.shโsh(1)scripts.sharโ archive created by theshar(1)utility.shtmlโ HTML using Server Side Includes.soโ Shared library or dynamically loadable object.sqlโ SQL source.sqmlโ SQML schema or query program.styโ LaTeX style files.symโ Modula-2 compiled definition modules.tarโ archive created by thetar(1)utility.tar.Zโtar(1)archive compressed withcompress(1).tar.bz2โtar(1)archive compressed withbzip2(1).tar.gzโtar(1)archive compressed withgzip(1).tar.xzโtar(1)archive compressed withxz(1).tazโtar(1)archive compressed withcompress(1).tclโ tcl source code.texโ TeX or LaTeX source.texiโ equivalent to.texinfo.texinfoโ Texinfo documentation source.textโ text file.tfmโ TeX font metric file.tgzโtar(1)archive compressed withgzip(1).tifโ poor man's.tiff.tiffโ Tagged Image File Format.tkโ tcl/tk script.tmpโ temporary file.tmplโ template files.tsโ TypeScript source code.tsxโ TypeScript with JSX source code (.ts+.jsx).txtโ equivalent to.text.uuโ equivalent to.uue.uueโ binary file encoded withuuencode(1).vfโ TeX virtual font file.vplโ TeX virtual property list file.wโ Silvio Levi's CWEB.wavโ wave sound file.webโ Donald Knuth's WEB.wmlโ Source file for Web Meta Language.xbmโ X11 bitmap source.xcfโ GIMP graphic.xmlโ eXtended Markup Language file.xpmโ X11 pixmap source.xsโ Perl xsub file produced by h2xs.xslโ XSL stylesheet.xzโ file compressed withxz(1).yโyacc(1)orbison(1)(parser generator) files.zโ File compressed usingpack(1)(or an oldgzip(1)).zipโzip(1)archive.zooโzoo(1)archive.zstโ File compressed usingzstd(1)format~โ Emacs orpatch(1)backup filercโ startup (run control) file, e.g.,.newsrc
๐ STANDARDS ๐
General UNIX conventions. (iconic, honestly ๐ )
๐ BUGS ๐
This list is not exhaustive. So likeโฆ don't come for it if your fave obscure suffix isn't here, bestie ๐ซถ
๐ซถ SEE ALSO ๐ซถ
okay and that's the whole page!! ๐ this was the Linux man-pages 6.20 version of suffixes(7), dated 2026-05-11 โ go forth and file things correctly, you main character ๐โจ
๐ฆ where this page comes from
- arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- ๐ the page's license: Linux-man-pages-copyleft
- Copyright 1993, Thomas Koenig <ig25@rz.uni-karlsruhe.de>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms