# suffixes - list of file suffixes - man(7) - [phpMan]

[_SUFFIXES_(7)](https://www.chedong.com/phpMan.php/man/SUFFIXES/7/markdown)                       Miscellaneous Information Manual                       [_SUFFIXES_(7)](https://www.chedong.com/phpMan.php/man/SUFFIXES/7/markdown)

## NAME
       suffixes - list of file suffixes

## DESCRIPTION
       It  is  customary  to indicate the contents of a file with the file suffix, which (typically)
       consists of a period, followed by one or more letters.  Many standard utilities, such as com‐
       pilers, use this to recognize the type of file they are dealing with.  The [**make**(1)](https://www.chedong.com/phpMan.php/man/make/1/markdown) utility is
       driven by rules based on file suffix.

       Following is a list of suffixes which are likely to be found on a Linux system.

       Suffix         File type
       ───────────────────────────────────────────────────────────────────
       _,v_             files for RCS (Revision Control System)
       _-_              backup file
       _.C_             C++ source code, equivalent to _.cc_
       _.F_             Fortran source with [**cpp**(1)](https://www.chedong.com/phpMan.php/man/cpp/1/markdown) directives
                      or file compressed using freeze
       _.S_             assembler source with [**cpp**(1)](https://www.chedong.com/phpMan.php/man/cpp/1/markdown) directives
       _.Y_             file compressed using yabba
       _.Z_             file compressed using [**compress**(1)](https://www.chedong.com/phpMan.php/man/compress/1/markdown)
       _.[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)](https://www.chedong.com/phpMan.php/man/automake/1/markdown) input file
       _.arc_           [**arc**(1)](https://www.chedong.com/phpMan.php/man/arc/1/markdown) archive
       _.arj_           [**arj**(1)](https://www.chedong.com/phpMan.php/man/arj/1/markdown) archive
       _.asc_           PGP 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)](https://www.chedong.com/phpMan.php/man/bash/1/markdown) shell script
       _.bb_            basic block list data produced by
                      gcc -ftest-coverage
       _.bbg_           basic block graph data produced by
                      gcc -ftest-coverage
       _.bbl_           BibTeX output
       _.bdf_           X font file
       _.bib_           TeX bibliographic database, BibTeX input
       _.bm_            bitmap source
       _.bmp_           bitmap
       _.bz2_           file compressed using [**bzip2**(1)](https://www.chedong.com/phpMan.php/man/bzip2/1/markdown)
       _.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)](https://www.chedong.com/phpMan.php/man/csh/1/markdown) shell script
       _.cxx_           equivalent to _.cc_
       _.dat_           data file
       _.deb_           Debian software package
       _.def_           Modula-2 source for definition modules
       _.def_           other definition files
       _.desc_          initial part of mail message unpacked with
                      [**munpack**(1)](https://www.chedong.com/phpMan.php/man/munpack/1/markdown)
       _.diff_          file differences ([**diff**(1)](https://www.chedong.com/phpMan.php/man/diff/1/markdown) command output)
       _.dir_           dbm data base directory file
       _.doc_           documentation file
       _.dsc_           Debian Source Control (source package)
       _.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 by [**xfig**(1)](https://www.chedong.com/phpMan.php/man/xfig/1/markdown))
       _.fmt_           TeX format file
       _.gif_           Compuserve Graphics Image File format
       _.gmo_           GNU format message catalog
       _.gsf_           Ghostscript fonts
       _.gz_            file compressed using [**gzip**(1)](https://www.chedong.com/phpMan.php/man/gzip/1/markdown)
       _.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)](https://www.chedong.com/phpMan.php/man/lyx/1/markdown) keymap
       _.l_             equivalent to _.lex_ or _.lisp_
       _.lex_           [**lex**(1)](https://www.chedong.com/phpMan.php/man/lex/1/markdown) or [**flex**(1)](https://www.chedong.com/phpMan.php/man/flex/1/markdown) files
       _.lha_           lharc archive
       _.lib_           Common-Lisp library
       _.lisp_          Lisp source
       _.ln_            files for use with [**lint**(1)](https://www.chedong.com/phpMan.php/man/lint/1/markdown)
       _.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)](https://www.chedong.com/phpMan.php/man/m4/1/markdown) 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 the me macro package
       _.mf_            Metafont (font generator for TeX) source
       _.mgp_           MagicPoint file
       _.mm_            sources for [**groff**(1)](https://www.chedong.com/phpMan.php/man/groff/1/markdown) in mm - 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, from [**patch**(1)](https://www.chedong.com/phpMan.php/man/patch/1/markdown)
       _.out_           output file, often executable program (a.out)
       _.p_             Pascal source
       _.pag_           dbm data base data file
       _.patch_         file differences for [**patch**(1)](https://www.chedong.com/phpMan.php/man/patch/1/markdown)
       _.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_           PGP 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)](https://www.chedong.com/phpMan.php/man/perldoc/1/markdown) 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 that [**patch**(1)](https://www.chedong.com/phpMan.php/man/patch/1/markdown) couldn't apply
       _.rpm_           RPM software package
       _.rtf_           Rich Text Format file
       _.rules_         rules for something
       _.s_             assembler source
       _.sa_            stub libraries for a.out shared libraries
       _.sc_            [**sc**(1)](https://www.chedong.com/phpMan.php/man/sc/1/markdown) spreadsheet commands
       _.scm_           Scheme source code
       _.sed_           sed source file
       _.sgml_          SGML source file
       _.sh_            [**sh**(1)](https://www.chedong.com/phpMan.php/man/sh/1/markdown) scripts
       _.shar_          archive created by the [**shar**(1)](https://www.chedong.com/phpMan.php/man/shar/1/markdown) 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 the [**tar**(1)](https://www.chedong.com/phpMan.php/man/tar/1/markdown) utility
       _.tar.Z_         [tar(1)](https://www.chedong.com/phpMan.php/man/tar/1/markdown) archive compressed with [**compress**(1)](https://www.chedong.com/phpMan.php/man/compress/1/markdown)
       _.tar.bz2_       [tar(1)](https://www.chedong.com/phpMan.php/man/tar/1/markdown) archive compressed with [**bzip2**(1)](https://www.chedong.com/phpMan.php/man/bzip2/1/markdown)
       _.tar.gz_        [tar(1)](https://www.chedong.com/phpMan.php/man/tar/1/markdown) archive compressed with [**gzip**(1)](https://www.chedong.com/phpMan.php/man/gzip/1/markdown)
       _.taz_           [tar(1)](https://www.chedong.com/phpMan.php/man/tar/1/markdown) archive compressed with [**compress**(1)](https://www.chedong.com/phpMan.php/man/compress/1/markdown)
       _.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 archive compressed with [**gzip**(1)](https://www.chedong.com/phpMan.php/man/gzip/1/markdown)
       _.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 with [**uuencode**(1)](https://www.chedong.com/phpMan.php/man/uuencode/1/markdown)
       _.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
       _.y_           │ [**yacc**(1)](https://www.chedong.com/phpMan.php/man/yacc/1/markdown) or [**bison**(1)](https://www.chedong.com/phpMan.php/man/bison/1/markdown) (parser generator) files
       _.z_           │ File compressed using [**pack**(1)](https://www.chedong.com/phpMan.php/man/pack/1/markdown) (or an old [**gzip**(1)](https://www.chedong.com/phpMan.php/man/gzip/1/markdown))
       _.zip_         │ [**zip**(1)](https://www.chedong.com/phpMan.php/man/zip/1/markdown) archive
       _.zoo_         │ [**zoo**(1)](https://www.chedong.com/phpMan.php/man/zoo/1/markdown) archive
       _~_            │ Emacs or [**patch**(1)](https://www.chedong.com/phpMan.php/man/patch/1/markdown) backup file
       _rc_           │ startup (`run control') file, e.g., _.newsrc_

## STANDARDS
       General UNIX conventions.

## BUGS
       This list is not exhaustive.

## SEE ALSO
       [**file**(1)](https://www.chedong.com/phpMan.php/man/file/1/markdown), [**make**(1)](https://www.chedong.com/phpMan.php/man/make/1/markdown)

Linux man-pages 6.7                          2023-10-31                                  [_SUFFIXES_(7)](https://www.chedong.com/phpMan.php/man/SUFFIXES/7/markdown)
