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.
40 Many standard utilities, such as compilers, use this to recognize the type of
41 file they are dealing with.
44 utility is driven by rules based on file suffix.
46 Following is a list of suffixes which are likely to be found on a
54 ,v files for RCS (Revision Control System)
56 .C C++ source code, equivalent to \fI.cc\fP
57 .F Fortran source with \fBcpp\fP(1) directives
58 or file compressed using freeze
59 .S assembler source with \fBcpp\fP(1) directives
60 .Y file compressed using yabba
61 .Z file compressed using \fBcompress\fP(1)
62 .[0-9]+gf TeX generic font files
63 .[0-9]+pk TeX packed font files
64 .[1-9] manual page for the corresponding section
65 .[1-9][a-z] manual page for section plus subsection
66 .a static object code library
67 .ad X application default resource file
68 .ada Ada source (may be body, spec, or combination)
71 .afm PostScript font metrics
72 .al Perl autoload file
73 .am \fBautomake\fP(1) input file
74 .arc \fBarc\fP(1) archive
75 .arj \fBarj\fP(1) archive
76 .asc PGP ASCII-armoured data
77 .asm (GNU) assembler source file
79 .aux LaTeX auxiliary file
81 .awk AWK language program
82 .b LILO boot loader image
84 .bash \fBbash\fP(1) shell script
85 .bb basic block list data produced by
87 .bbg basic block graph data produced by
91 .bib TeX bibliographic database, BibTeX input
94 .bz2 file compressed using \fBbzip2\fP(1)
96 .cat message catalog files
98 .cf configuration file
99 .cfg configuration file
100 .cgi WWW content generating script or program
101 .cls LaTeX Class definition
102 .class Java compiled byte-code
103 .conf configuration file
104 .config configuration file
105 .cpp equivalent to \fI.cc\fR
106 .csh \fBcsh\fP(1) shell script
107 .cxx equivalent to \fI.cc\fR
109 .deb Debian software package
110 .def Modula-2 source for definition modules
111 .def other definition files
112 .desc initial part of mail message unpacked with
114 .diff file differences (\fBdiff\fP(1) command output)
115 .dir dbm data base directory file
116 .doc documentation file
117 .dsc Debian Source Control (source package)
118 .dtx LaTeX package source file
119 .dvi TeX's device independent output
120 .el Emacs-Lisp source
121 .elc compiled Emacs-Lisp source
122 .eps encapsulated PostScript
123 .exp Expect source code
125 .f77 Fortran 77 source
126 .f90 Fortran 90 source
127 .fas pre-compiled Common-Lisp
128 .fi Fortran include files
129 .fig FIG image file (used by \fBxfig\fP(1))
131 .gif Compuserve Graphics Image File format
132 .gmo GNU format message catalog
133 .gsf Ghostscript fonts
134 .gz file compressed using \fBgzip\fP(1)
135 .h C or C++ header files
137 .hf equivalent to \fI.help\fP
138 .hlp equivalent to \fI.help\fP
139 .htm poor man's \fI.html\fP
140 .html HTML document used with the World Wide Web
141 .hqx 7-bit encoded Macintosh file
142 .i C source after preprocessing
144 .idx reference or datum-index file for hypertext
147 .in configuration template, especially for GNU Autoconf
148 .info files for the Emacs info browser
149 .info-[0-9]+ split info files
150 .ins LaTeX package install file for docstrip
151 .itcl itcl source code;
152 itcl ([incr Tcl]) is an OO extension of tcl
153 .java a Java source file
154 .jpeg Joint Photographic Experts Group format
155 .jpg poor man's \fI.jpeg\fP
156 .kmap \fBlyx\fP(1) keymap
157 .l equivalent to \fI.lex\fP or \fI.lisp\fP
158 .lex \fBlex\fP(1) or \fBflex\fP(1) files
160 .lib Common-Lisp library
162 .ln files for use with \fBlint\fP(1)
163 .log log file, in particular produced by TeX
164 .lsm Linux Software Map entry
165 .lsp Common-Lisp source
167 .m Objective-C source code
168 .m4 \fBm4\fP(1) source
169 .mac macro files for various programs
170 .man manual page (usually source rather than formatted)
171 .map map files for various programs
172 .me Nroff source using the me macro package
173 .mf Metafont (font generator for TeX) source
175 .mm sources for \fBgroff\fP(1) in mm - format
176 .mo Message catalog binary file
177 .mod Modula-2 source for implementation modules
178 .mov (quicktime) movie
180 .mp2 MPEG Layer 2 (audio) file
181 .mp3 MPEG Layer 3 (audio) file
184 .old old or backup file
185 .orig backup (original) version of a file, from \fBpatch\fP(1)
186 .out output file, often executable program (a.out)
188 .pag dbm data base data file
189 .patch file differences for \fBpatch\fP(1)
190 .pbm portable bitmap format
192 .pdf Adobe Portable Data Format
193 (use Acrobat/\fBacroread\fP or \fBxpdf\fP)
194 .perl Perl source (see .ph, .pl and .pm)
195 .pfa PostScript font definition files, ASCII format
196 .pfb PostScript font definition files, binary format
197 .pgm portable greymap format
200 .php PHP program file
201 .php3 PHP3 program file
202 .pid File to store daemon PID (e.g. crond.pid)
203 .pl TeX property list file or Perl library file
205 .png Portable Network Graphics file
206 .po Message catalog source
207 .pod \fBperldoc\fP(1) file
208 .ppm portable pixmap format
214 .r RATFOR source (obsolete)
215 .rej patches that \fBpatch\fP(1) couldn't apply
216 .rpm RedHat software package
217 .rtf Rich Text Format file
218 .rules rules for something
220 .sa stub libraries for a.out shared libraries
221 .sc \fBsc\fP(1) spreadsheet commands
222 .scm Scheme source code
224 .sgml SGML source file
225 .sh \fBsh\fP(1) scripts
226 .shar archive created by the \fBshar\fP(1) utility
227 .so Shared library or dynamically loadable object
229 .sqml SQML schema or query program
230 .sty LaTeX style files
231 .sym Modula-2 compiled definition modules
232 .tar archive created by the \fBtar\fP(1) utility
233 .tar.Z tar(1) archive compressed with \fBcompress\fP(1)
234 .tar.bz2 tar(1) archive compressed with \fBbzip2\fP(1)
235 .tar.gz tar(1) archive compressed with \fBgzip\fP(1)
236 .taz tar(1) archive compressed with \fBcompress\fP(1)
238 .tex TeX or LaTeX source
239 .texi equivalent to \fI.texinfo\fP
240 .texinfo Texinfo documentation source
242 .tfm TeX font metric file
243 .tgz tar archive compressed with \fBgzip\fP(1)
244 .tif poor man's \fI.tiff\fP
245 .tiff Tagged Image File Format
249 .txt equivalent to \fI.text\fP
250 .uu equivalent to \fI.uue\fP
251 .uue binary file encoded with \fBuuencode\fP(1)
252 .vf TeX virtual font file
253 .vpl TeX virtual property list file
254 .w Silvio Levi's CWEB
256 .web Donald Knuth's WEB
257 .wml Source file for Web Meta Language
258 .xbm X11 bitmap source
260 .xml eXtended Markup Language file
262 .xpm X11 pixmap source
263 .xs Perl xsub file produced by h2xs
264 .y \fByacc\fP(1) or \fBbison\fP(1) (parser generator) files
265 .z File compressed using \fBpack\fP(1) (or an old \fBgzip\fP(1))
266 .zip \fBzip\fP(1) archive
267 .zoo \fBzoo\fP(1) archive
268 ~ Emacs or \fBpatch\fP(1) backup file
269 rc startup (`run control') file, e.g. \fI.newsrc\fP
272 General UNIX conventions.
274 This list is not exhaustive.