Revert "keyrings.7: ffix"
[man-pages.git] / man / man7 / suffixes.7
blob657f82cde55e82c70e5fcb3a9d4a7f78cd6c32e7
1 '\" t
2 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .\" Modified Sat Jul 24 17:35:15 1993 by Rik Faith <faith@cs.unc.edu>
7 .\" Modified Sun Feb 19 22:02:32 1995 by Rik Faith <faith@cs.unc.edu>
8 .\" Modified Tue Oct 22 23:28:12 1996 by Eric S. Raymond <esr@thyrsus.com>
9 .\" Modified Sun Jan 26 21:56:56 1997 by Ralph Schleicher
10 .\"    <rs@purple.UL.BaWue.DE>
11 .\" Modified Mon Jun 16 20:24:58 1997 by Nicolás Lichtmaier <nick@debian.org>
12 .\" Modified Sun Oct 18 22:11:28 1998 by Joseph S. Myers <jsm28@cam.ac.uk>
13 .\" Modified Mon Nov 16 17:24:47 1998 by Andries Brouwer <aeb@cwi.nl>
14 .\" Modified Thu Nov 16 23:28:25 2000 by David A. Wheeler
15 .\"    <dwheeler@dwheeler.com>
16 .\"
17 .TH SUFFIXES 7 (date) "Linux man-pages (unreleased)"
18 .SH NAME
19 suffixes \- list of file suffixes
20 .SH DESCRIPTION
21 It is customary to indicate the contents of a file with the file suffix,
22 which (typically) consists of a period, followed by one or more letters.
23 Many standard utilities, such as compilers, use this to recognize the type of
24 file they are dealing with.
25 The
26 .BR make (1)
27 utility is driven by rules based on file suffix.
29 Following is a list of suffixes which are likely to be found on a
30 Linux system.
32 .TS
33 l | l
34 _ | _
35 lI |  l .
36 Suffix  File type
37 \&,v    files for RCS (Revision Control System)
38 \&-     backup file
39 \&.C    C++ source code, equivalent to \fI.cc\fP
40 \&.F    Fortran source with \fBcpp\fP(1) directives
41 \&      or file compressed using freeze
42 \&.S    assembler source with \fBcpp\fP(1) directives
43 \&.Y    file compressed using yabba
44 \&.Z    file compressed using \fBcompress\fP(1)
45 \&.[0\-9]+gf    TeX generic font files
46 \&.[0\-9]+pk    TeX packed font files
47 \&.[1\-9]       manual page for the corresponding section
48 \&.[1\-9][a-z]  manual page for section plus subsection
49 \&.a    static object code library
50 \&.ad   X application default resource file
51 \&.ada  Ada source (may be body, spec, or combination)
52 \&.adb  Ada body source
53 \&.ads  Ada spec source
54 \&.afm  PostScript font metrics
55 \&.al   Perl autoload file
56 \&.am   \fBautomake\fP(1) input file
57 \&.arc  \fBarc\fP(1) archive
58 \&.arj  \fBarj\fP(1) archive
59 \&.asc  PGP ASCII-armored data
60 \&.asm  (GNU) assembler source file
61 \&.au   Audio sound file
62 \&.aux  LaTeX auxiliary file
63 \&.avi  (msvideo) movie
64 \&.awk  AWK language program
65 \&.b    LILO boot loader image
66 \&.bak  backup file
67 \&.bash \fBbash\fP(1) shell script
68 \&.bb   basic block list data produced by
69 \&      gcc \-ftest\-coverage
70 \&.bbg  basic block graph data produced by
71 \&      gcc \-ftest\-coverage
72 \&.bbl  BibTeX output
73 \&.bdf  X font file
74 \&.bib  TeX bibliographic database, BibTeX input
75 \&.bm   bitmap source
76 \&.bmp  bitmap
77 \&.bz2  file compressed using \fBbzip2\fP(1)
78 \&.c    C source
79 \&.cat  message catalog files
80 \&.cc   C++ source
81 \&.cf   configuration file
82 \&.cfg  configuration file
83 \&.cgi  WWW content generating script or program
84 \&.cls  LaTeX Class definition
85 \&.class        Java compiled byte-code
86 \&.conf configuration file
87 \&.config       configuration file
88 \&.cpp  equivalent to \fI.cc\fR
89 \&.csh  \fBcsh\fP(1) shell script
90 \&.cxx  equivalent to \fI.cc\fR
91 \&.dat  data file
92 \&.deb  Debian software package
93 \&.def  Modula-2 source for definition modules
94 \&.def  other definition files
95 \&.desc initial part of mail message unpacked with
96 \&      \fBmunpack\fP(1)
97 \&.diff file differences (\fBdiff\fP(1) command output)
98 \&.dir  dbm data base directory file
99 \&.doc  documentation file
100 \&.dsc  Debian Source Control (source package)
101 \&.dtx  LaTeX package source file
102 \&.dvi  TeX's device independent output
103 \&.el   Emacs-Lisp source
104 \&.elc  compiled Emacs-Lisp source
105 \&.eps  encapsulated PostScript
106 \&.exp  Expect source code
107 \&.f    Fortran source
108 \&.f77  Fortran 77 source
109 \&.f90  Fortran 90 source
110 \&.fas  precompiled Common-Lisp
111 \&.fi   Fortran include files
112 \&.fig  FIG image file (used by \fBxfig\fP(1))
113 \&.fmt  TeX format file
114 \&.gif  Compuserve Graphics Image File format
115 \&.gmo  GNU format message catalog
116 \&.gsf  Ghostscript fonts
117 \&.gz   file compressed using \fBgzip\fP(1)
118 \&.h    C or C++ header files
119 \&.help help file
120 \&.hf   equivalent to \fI.help\fP
121 \&.hlp  equivalent to \fI.help\fP
122 \&.htm  poor man's \fI.html\fP
123 \&.html HTML document used with the World Wide Web
124 \&.hqx  7-bit encoded Macintosh file
125 \&.i    C source after preprocessing
126 \&.icon bitmap source
127 \&.idx  reference or datum-index file for hypertext
128 \&      or database system
129 \&.image        bitmap source
130 \&.in   configuration template, especially for GNU Autoconf
131 \&.info files for the Emacs info browser
132 \&.info-[0\-9]+ split info files
133 \&.ins  LaTeX package install file for docstrip
134 \&.itcl itcl source code;
135 \&      itcl ([incr Tcl]) is an OO extension of tcl
136 \&.java a Java source file
137 \&.jpeg Joint Photographic Experts Group format
138 \&.jpg  poor man's \fI.jpeg\fP
139 \&.js   JavaScript source code
140 \&.jsx  JSX (JavaScript XML-like extension) source code
141 \&.kmap \fBlyx\fP(1) keymap
142 \&.l    equivalent to \fI.lex\fP or \fI.lisp\fP
143 \&.lex  \fBlex\fP(1) or \fBflex\fP(1) files
144 \&.lha  lharc archive
145 \&.lib  Common-Lisp library
146 \&.lisp Lisp source
147 \&.ln   files for use with \fBlint\fP(1)
148 \&.log  log file, in particular produced by TeX
149 \&.lsm  Linux Software Map entry
150 \&.lsp  Common-Lisp source
151 \&.lzh  lharc archive
152 \&.m    Objective-C source code
153 \&.m4   \fBm4\fP(1) source
154 \&.mac  macro files for various programs
155 \&.man  manual page (usually source rather than formatted)
156 \&.map  map files for various programs
157 \&.me   Nroff source using the me macro package
158 \&.mf   Metafont (font generator for TeX) source
159 \&.mgp  MagicPoint file
160 \&.mm   sources for \fBgroff\fP(1) in mm - format
161 \&.mo   Message catalog binary file
162 \&.mod  Modula-2 source for implementation modules
163 \&.mov  (quicktime) movie
164 \&.mp   Metapost source
165 \&.mp2  MPEG Layer 2 (audio) file
166 \&.mp3  MPEG Layer 3 (audio) file
167 \&.mpeg movie file
168 \&.o    object file
169 \&.old  old or backup file
170 \&.orig backup (original) version of a file, from \fBpatch\fP(1)
171 \&.out  output file, often executable program (a.out)
172 \&.p    Pascal source
173 \&.pag  dbm data base data file
174 \&.patch        file differences for \fBpatch\fP(1)
175 \&.pbm  portable bitmap format
176 \&.pcf  X11 font files
177 \&.pdf  Adobe Portable Data Format
178 \&      (use Acrobat/\fBacroread\fP or \fBxpdf\fP)
179 \&.perl Perl source (see .ph, .pl, and .pm)
180 \&.pfa  PostScript font definition files, ASCII format
181 \&.pfb  PostScript font definition files, binary format
182 \&.pgm  portable greymap format
183 \&.pgp  PGP binary data
184 \&.ph   Perl header file
185 \&.php  PHP program file
186 \&.php3 PHP3 program file
187 \&.pid  File to store daemon PID (e.g., crond.pid)
188 \&.pl   TeX property list file or Perl library file
189 \&.pm   Perl module
190 \&.png  Portable Network Graphics file
191 \&.po   Message catalog source
192 \&.pod  \fBperldoc\fP(1) file
193 \&.ppm  portable pixmap format
194 \&.pr   bitmap source
195 \&.ps   PostScript file
196 \&.py   Python source
197 \&.pyc  compiled python
198 \&.qt   quicktime movie
199 \&.r    RATFOR source (obsolete)
200 \&.rej  patches that \fBpatch\fP(1) couldn't apply
201 \&.rpm  RPM software package
202 \&.rtf  Rich Text Format file
203 \&.rules        rules for something
204 \&.s    assembler source
205 \&.sa   stub libraries for a.out shared libraries
206 \&.sc   \fBsc\fP(1) spreadsheet commands
207 \&.scm  Scheme source code
208 \&.sed  sed source file
209 \&.sgml SGML source file
210 \&.sh   \fBsh\fP(1) scripts
211 \&.shar archive created by the \fBshar\fP(1) utility
212 \&.shtml        HTML using Server Side Includes
213 \&.so   Shared library or dynamically loadable object
214 \&.sql  SQL source
215 \&.sqml SQML schema or query program
216 \&.sty  LaTeX style files
217 \&.sym  Modula-2 compiled definition modules
218 \&.tar  archive created by the \fBtar\fP(1) utility
219 \&.tar.Z        tar(1) archive compressed with \fBcompress\fP(1)
220 \&.tar.bz2      tar(1) archive compressed with \fBbzip2\fP(1)
221 \&.tar.gz       tar(1) archive compressed with \fBgzip\fP(1)
222 \&.taz  tar(1) archive compressed with \fBcompress\fP(1)
223 \&.tcl  tcl source code
224 \&.tex  TeX or LaTeX source
225 \&.texi equivalent to \fI.texinfo\fP
226 \&.texinfo      Texinfo documentation source
227 \&.text text file
228 \&.tfm  TeX font metric file
229 \&.tgz  tar archive compressed with \fBgzip\fP(1)
230 \&.tif  poor man's \fI.tiff\fP
231 \&.tiff Tagged Image File Format
232 \&.tk   tcl/tk script
233 \&.tmp  temporary file
234 \&.tmpl template files
235 \&.ts   TypeScript source code
236 \&.tsx  TypeScript with JSX source code (\fI.ts\fP + \fI.jsx\fP)
237 \&.txt  equivalent to \fI.text\fP
238 \&.uu   equivalent to \fI.uue\fP
239 \&.uue  binary file encoded with \fBuuencode\fP(1)
240 \&.vf   TeX virtual font file
241 \&.vpl  TeX virtual property list file
242 \&.w    Silvio Levi's CWEB
243 \&.wav  wave sound file
244 \&.web  Donald Knuth's WEB
245 \&.wml  Source file for Web Meta Language
246 \&.xbm  X11 bitmap source
247 \&.xcf  GIMP graphic
248 \&.xml  eXtended Markup Language file
249 \&.xpm  X11 pixmap source
250 \&.xs   Perl xsub file produced by h2xs
251 \&.xsl  XSL stylesheet
252 \&.y    \fByacc\fP(1) or \fBbison\fP(1) (parser generator) files
253 \&.z    File compressed using \fBpack\fP(1) (or an old \fBgzip\fP(1))
254 \&.zip  \fBzip\fP(1) archive
255 \&.zoo  \fBzoo\fP(1) archive
256 \&\[ti] Emacs or \fBpatch\fP(1) backup file
257 \&rc    startup (`run control') file, e.g., \fI.newsrc\fP
259 .SH STANDARDS
260 General UNIX conventions.
261 .SH BUGS
262 This list is not exhaustive.
263 .SH SEE ALSO
264 .BR file (1),
265 .BR make (1)