2 .\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" Modified Sat Jul 24 17:35:15 1993 by Rik Faith <faith@cs.unc.edu>
25 .\" Modified Sun Feb 19 22:02:32 1995 by Rik Faith <faith@cs.unc.edu>
26 .\" Modified Tue Oct 22 23:28:12 1996 by Eric S. Raymond <esr@thyrsus.com>
27 .\" Modified Sun Jan 26 21:56:56 1997 by Ralph Schleicher
28 .\" <rs@purple.UL.BaWue.DE>
29 .\" Modified Mon Jun 16 20:24:58 1997 by Nicolás Lichtmaier <nick@debian.org>
30 .\" Modified Sun Oct 18 22:11:28 1998 by Joseph S. Myers <jsm28@cam.ac.uk>
31 .\" Modified Mon Nov 16 17:24:47 1998 by Andries Brouwer <aeb@cwi.nl>
32 .\" Modified Thu Nov 16 23:28:25 2000 by David A. Wheeler
33 .\" <dwheeler@dwheeler.com>
34 .TH SUFFIXES 7 2000-11-16 "Linux" "Linux Programmer's Manual"
36 suffixes \- list of file suffixes
38 It is customary to indicate the contents of a file with the file suffix,
39 which consists of a period, followed by one or more letters. Many
40 standard utilities, such as compilers, use this to recognize the type of
41 file they are dealing with. The
43 utility is driven by rules based on file suffix.
45 Following is a list of suffixes which are likely to be found on a
53 ,v files for RCS (Revision Control System)
55 .C C++ source code, equivalent to \fI.cc\fP
56 .F Fortran source with \fBcpp\fP(1) directives
57 or file compressed using freeze
58 .S assembler source with \fBcpp\fP(1) directives
59 .Y file compressed using yabba
60 .Z file compressed using \fBcompress\fP(1)
61 .[0-9]+gf TeX generic font files
62 .[0-9]+pk TeX packed font files
63 .[1-9] manual page for the corresponding section
64 .[1-9][a-z] manual page for section plus subsection
65 .a static object code library
66 .ad X application default resource file
67 .ada Ada source (may be body, spec, or combination)
70 .afm PostScript font metrics
71 .al Perl autoload file
72 .am \fBautomake\fP(1) input file
73 .arc \fBarc\fP(1) archive
74 .arj \fBarj\fP(1) archive
75 .asc PGP ASCII-armoured data
76 .asm (GNU) assember source file
78 .aux LaTeX auxiliary file
80 .awk AWK language program
81 .b LILO boot loader image
83 .bash \fBbash\fP(1) shell script
84 .bb basic block list data produced by
86 .bbg basic block graph data produced by
90 .bib TeX bibliographic database, BibTeX input
93 .bz2 file compressed using \fBbzip2\fP(1)
95 .cat message catalog files
97 .cf configuration file
98 .cfg configuration file
99 .cgi WWW content generating script or program
100 .cls LaTeX Class definition
101 .class Java compiled byte-code
102 .conf configuration file
103 .config configuration file
104 .cpp equivalent to \fI.cc\fR
105 .csh \fBcsh\fP(1) shell script
106 .cxx equivalent to \fI.cc\fR
108 .deb Debian software package
109 .def Modula-2 source for definition modules
110 .def other definition files
111 .desc initial part of mail message unpacked with
113 .diff file differences (\fBdiff\fP(1) command output)
114 .dir dbm data base directory file
115 .doc documentation file
116 .dsc Debian Source Control (source package)
117 .dtx LaTeX package source file
118 .dvi TeX's device independent output
119 .el Emacs-Lisp source
120 .elc compiled Emacs-Lisp source
121 .eps encapsulated PostScript
122 .exp Expect source code
124 .f77 Fortran 77 source
125 .f90 Fortran 90 source
126 .fas pre-compiled Common-Lisp
127 .fi Fortran include files
128 .fig FIG image file (used by \fBxfig\fP(1))
130 .gif Compuserve Graphics Image File format
131 .gmo GNU format message catalog
132 .gsf Ghostscript fonts
133 .gz file compressed using \fBgzip\fP(1)
134 .h C or C++ header files
136 .hf equivalent to \fI.help\fP
137 .hlp equivalent to \fI.help\fP
138 .htm poor man's \fI.html\fP
139 .html HTML document used with the World Wide Web
140 .hqx 7-bit encoded Macintosh file
141 .i C source after preprocessing
143 .idx reference or datum-index file for hypertext
146 .in configuration template, especially for GNU Autoconf
147 .info files for the Emacs info browser
148 .info-[0-9]+ splitted info files
149 .ins LaTeX package install file for docstrip
150 .itcl itcl source code;
151 itcl ([incr Tcl]) is an OO extension of tcl
152 .java a Java source file
153 .jpeg Joint Photographic Experts Group format
154 .jpg poor man's \fI.jpeg\fP
155 .kmap \fBlyx\fP(1) keymap
156 .l equivalent to \fI.lex\fP or \fI.lisp\fP
157 .lex \fBlex\fP(1) or \fBflex\fP(1) files
159 .lib Common-Lisp library
161 .ln files for use with \fBlint\fP(1)
162 .log log file, in particular produced by TeX
163 .lsm Linux Software Map entry
164 .lsp Common-Lisp source
166 .m Objective-C source code
167 .m4 \fBm4\fP(1) source
168 .mac macro files for various programs
169 .man manual page (usually source rather than formatted)
170 .map map files for various programs
171 .me Nroff source using the me macro package
172 .mf Metafont (font generator for TeX) source
174 .mm sources for \fBgroff\fP(1) in mm - format
175 .mo Message catalog binary file
176 .mod Modula-2 source for implementation modules
177 .mov (quicktime) movie
179 .mp2 MPEG Layer 2 (audio) file
180 .mp3 MPEG Layer 3 (audio) file
183 .old old or backup file
184 .orig backup (original) version of a file, from \fBpatch\fP(1)
185 .out output file, often executable program (a.out)
187 .pag dbm data base data file
188 .patch file differences for \fBpatch\fP(1)
189 .pbm portable bitmap format
191 .pdf Adobe Portable Data Format
192 (use Acrobat/\fBacroread\fP or \fBxpdf\fP)
193 .perl Perl source (see .ph, .pl and .pm)
194 .pfa PostScript font definition files, ASCII format
195 .pfb PostScript font definition files, binary format
196 .pgm portable greymap format
199 .php PHP program file
200 .php3 PHP3 program file
201 .pid File to store daemon pid (e.g. crond.pid)
202 .pl TeX property list file or Perl library file
204 .png Portable Network Graphics file
205 .po Message catalog source
206 .pod \fBperldoc\fP(1) file
207 .ppm portable pixmap format
213 .r RATFOR source (obsolete)
214 .rej patches that \fBpatch\fP(1) couldn't apply
215 .rpm RedHat software package
216 .rtf Rich Text Format file
217 .rules rules for something
219 .sa stub libraries for a.out shared libraries
220 .sc \fBsc\fP(1) spreadsheed commands
221 .scm Scheme source code
223 .sgml SGML source file
224 .sh \fBsh\fP(1) scripts
225 .shar archive created by the \fBshar\fP(1) utility
226 .so Shared library or dynamically loadable object
228 .sqml SQML schema or query program
229 .sty LaTeX style files
230 .sym Modula-2 compiled definition modules
231 .tar archive created by the \fBtar\fP(1) utility
232 .tar.Z tar(1) archive compressed with \fBcompress\fP(1)
233 .tar.bz2 tar(1) archive compressed with \fBbzip2\fP(1)
234 .tar.gz tar(1) archive compressed with \fBgzip\fP(1)
235 .taz tar(1) archive compressed with \fBcompress\fP(1)
237 .tex TeX or LaTeX source
238 .texi equivalent to \fI.texinfo\fP
239 .texinfo Texinfo documentation source
241 .tfm TeX font metric file
242 .tgz tar archive compressed with \fBgzip\fP(1)
243 .tif poor man's \fI.tiff\fP
244 .tiff Tagged Image File Format
248 .txt equivalent to \fI.text\fP
249 .uu equivalent to \fI.uue\fP
250 .uue binary file encoded with \fBuuencode\fP(1)
251 .vf TeX virtual font file
252 .vpl TeX virtual property list file
253 .w Silvio Levi's CWEB
255 .web Donald Knuth's WEB
256 .wml Source file for Web Meta Language
257 .xbm X11 bitmap source
259 .xml eXtended Markup Language file
261 .xpm X11 pixmap source
262 .xs Perl xsub file produced by h2xs
263 .y \fByacc\fP(1) or \fBbison\fP(1) (parser generator) files
264 .z File compressed using \fBpack\fP(1) (or an old \fBgzip\fP(1))
265 .zip \fBzip\fP(1) archive
266 .zoo \fBzoo\fP(1) archive
267 ~ Emacs or \fBpatch\fP(1) backup file
268 rc startup (`run control') file, e.g. \fI.newsrc\fP
271 General UNIX conventions.
273 This list is not exhaustive.