1SUFFIXES(7)                Linux Programmer's Manual               SUFFIXES(7)
2
3
4

NAME

6       suffixes - list of file suffixes
7

DESCRIPTION

9       It  is  customary to indicate the contents of a file with the file suf‐
10       fix, which consists of a period, followed by one or more letters.  Many
11       standard  utilities,  such as compilers, use this to recognize the type
12       of file they are dealing with.  The make(1) utility is driven by  rules
13       based on file suffix.
14
15       Following is a list of suffixes which are likely to be found on a Linux
16       system.
17
18       Suffix        │ File type
19       ──────────────├─────────────────────────────────────────────────────
20        ,v           │ files for RCS (Revision Control System)
21        -            │ backup file
22        .C           │ C++ source code, equivalent to .cc
23        .F           │ Fortran source with cpp(1) directives
24                     │ or file compressed using freeze
25        .S           │ assembler source with cpp(1) directives
26        .Y           │ file compressed using yabba
27        .Z           │ file compressed using compress(1)
28        .[0-9]+gf    │ TeX generic font files
29        .[0-9]+pk    │ TeX packed font files
30        .[1-9]       │ manual page for the corresponding section
31        .[1-9][a-z]  │ manual page for section plus subsection
32        .a           │ static object code library
33        .ad          │ X application default resource file
34        .ada         │ Ada source (may be body, spec, or combination)
35        .adb         │ Ada body source
36        .ads         │ Ada spec source
37        .afm         │ PostScript font metrics
38        .al          │ Perl autoload file
39        .amautomake(1) input file
40        .arcarc(1) archive
41        .arjarj(1) archive
42        .asc         │ PGP ASCII-armored data
43        .asm         │ (GNU) assembler source file
44        .au          │ Audio sound file
45        .aux         │ LaTeX auxiliary file
46        .avi         │ (msvideo) movie
47        .awk         │ AWK language program
48        .b           │ LILO boot loader image
49        .bak         │ backup file
50        .bashbash(1) shell script
51        .bb          │ basic block list data produced by
52                     │ gcc -ftest-coverage
53        .bbg         │ basic block graph data produced by
54                     │ gcc -ftest-coverage
55        .bbl         │ BibTeX output
56        .bdf         │ X font file
57        .bib         │ TeX bibliographic database, BibTeX input
58        .bm          │ bitmap source
59        .bmp         │ bitmap
60        .bz2         │ file compressed using bzip2(1)
61        .c           │ C source
62        .cat         │ message catalog files
63        .cc          │ C++ source
64        .cf          │ configuration file
65        .cfg         │ configuration file
66
67        .cgi         │ WWW content generating script or program
68        .cls         │ LaTeX Class definition
69        .class       │ Java compiled byte-code
70        .conf        │ configuration file
71        .config      │ configuration file
72        .cpp         │ equivalent to .cc
73        .cshcsh(1) shell script
74        .cxx         │ equivalent to .cc
75        .dat         │ data file
76        .deb         │ Debian software package
77        .def         │ Modula-2 source for definition modules
78        .def         │ other definition files
79        .desc        │ initial part of mail message unpacked with
80                     │ munpack(1)
81        .diff        │ file differences (diff(1) command output)
82        .dir         │ dbm data base directory file
83        .doc         │ documentation file
84        .dsc         │ Debian Source Control (source package)
85        .dtx         │ LaTeX package source file
86        .dvi         │ TeX's device independent output
87        .el          │ Emacs-Lisp source
88        .elc         │ compiled Emacs-Lisp source
89        .eps         │ encapsulated PostScript
90        .exp         │ Expect source code
91        .f           │ Fortran source
92        .f77         │ Fortran 77 source
93        .f90         │ Fortran 90 source
94        .fas         │ precompiled Common-Lisp
95        .fi          │ Fortran include files
96        .fig         │ FIG image file (used by xfig(1))
97        .fmt         │ TeX format file
98        .gif         │ Compuserve Graphics Image File format
99        .gmo         │ GNU format message catalog
100        .gsf         │ Ghostscript fonts
101        .gz          │ file compressed using gzip(1)
102        .h           │ C or C++ header files
103        .help        │ help file
104        .hf          │ equivalent to .help
105        .hlp         │ equivalent to .help
106        .htm         │ poor man's .html
107        .html        │ HTML document used with the World Wide Web
108        .hqx         │ 7-bit encoded Macintosh file
109        .i           │ C source after preprocessing
110        .icon        │ bitmap source
111        .idx         │ reference or datum-index file for hypertext
112                     │ or database system
113        .image       │ bitmap source
114        .in          │ configuration template, especially for GNU Autoconf
115        .info        │ files for the Emacs info browser
116        .info-[0-9]+ │ split info files
117        .ins         │ LaTeX package install file for docstrip
118        .itcl        │ itcl source code;
119                     │ itcl ([incr Tcl]) is an OO extension of tcl
120        .java        │ a Java source file
121        .jpeg        │ Joint Photographic Experts Group format
122        .jpg         │ poor man's .jpeg
123        .kmaplyx(1) keymap
124        .l           │ equivalent to .lex or .lisp
125        .lexlex(1) or flex(1) files
126        .lha         │ lharc archive
127        .lib         │ Common-Lisp library
128        .lisp        │ Lisp source
129        .ln          │ files for use with lint(1)
130        .log         │ log file, in particular produced by TeX
131        .lsm         │ Linux Software Map entry
132
133        .lsp         │ Common-Lisp source
134        .lzh         │ lharc archive
135        .m           │ Objective-C source code
136        .m4m4(1) source
137        .mac         │ macro files for various programs
138        .man         │ manual page (usually source rather than formatted)
139        .map         │ map files for various programs
140        .me          │ Nroff source using the me macro package
141        .mf          │ Metafont (font generator for TeX) source
142        .mgp         │ MagicPoint file
143        .mm          │ sources for groff(1) in mm - format
144        .mo          │ Message catalog binary file
145        .mod         │ Modula-2 source for implementation modules
146        .mov         │ (quicktime) movie
147        .mp          │ Metapost source
148        .mp2         │ MPEG Layer 2 (audio) file
149        .mp3         │ MPEG Layer 3 (audio) file
150        .mpeg        │ movie file
151        .o           │ object file
152        .old         │ old or backup file
153        .orig        │ backup (original) version of a file, from patch(1)
154        .out         │ output file, often executable program (a.out)
155        .p           │ Pascal source
156        .pag         │ dbm data base data file
157        .patch       │ file differences for patch(1)
158        .pbm         │ portable bitmap format
159        .pcf         │ X11 font files
160        .pdf         │ Adobe Portable Data Format
161                     │ (use Acrobat/acroread or xpdf)
162        .perl        │ Perl source (see .ph, .pl and .pm)
163        .pfa         │ PostScript font definition files, ASCII format
164        .pfb         │ PostScript font definition files, binary format
165        .pgm         │ portable greymap format
166        .pgp         │ PGP binary data
167        .ph          │ Perl header file
168        .php         │ PHP program file
169        .php3        │ PHP3 program file
170        .pid         │ File to store daemon PID (e.g., crond.pid)
171        .pl          │ TeX property list file or Perl library file
172        .pm          │ Perl module
173        .png         │ Portable Network Graphics file
174        .po          │ Message catalog source
175        .podperldoc(1) file
176        .ppm         │ portable pixmap format
177        .pr          │ bitmap source
178        .ps          │ PostScript file
179        .py          │ Python source
180        .pyc         │ compiled python
181        .qt          │ quicktime movie
182        .r           │ RATFOR source (obsolete)
183        .rej         │ patches that patch(1) couldn't apply
184        .rpm         │ RedHat software package
185        .rtf         │ Rich Text Format file
186        .rules       │ rules for something
187        .s           │ assembler source
188        .sa          │ stub libraries for a.out shared libraries
189        .sc          │ sc(1) spreadsheet commands
190        .scm         │ Scheme source code
191        .sed         │ sed source file
192        .sgml        │ SGML source file
193        .shsh(1) scripts
194        .shar        │ archive created by the shar(1) utility
195        .so          │ Shared library or dynamically loadable object
196        .sql         │ SQL source
197        .sqml        │ SQML schema or query program
198
199        .sty         │ LaTeX style files
200        .sym         │ Modula-2 compiled definition modules
201        .tar         │ archive created by the tar(1) utility
202        .tar.Ztar(1) archive compressed with compress(1)
203        .tar.bz2tar(1) archive compressed with bzip2(1)
204        .tar.gztar(1) archive compressed with gzip(1)
205        .taztar(1) archive compressed with compress(1)
206        .tcl         │ tcl source code
207        .tex         │ TeX or LaTeX source
208        .texi        │ equivalent to .texinfo
209        .texinfo     │ Texinfo documentation source
210        .text        │ text file
211        .tfm         │ TeX font metric file
212        .tgz         │ tar archive compressed with gzip(1)
213        .tif         │ poor man's .tiff
214        .tiff        │ Tagged Image File Format
215        .tk          │ tcl/tk script
216        .tmp         │ temporary file
217        .tmpl        │ template files
218        .txt         │ equivalent to .text
219        .uu          │ equivalent to .uue
220        .uue         │ binary file encoded with uuencode(1)
221        .vf          │ TeX virtual font file
222        .vpl         │ TeX virtual property list file
223        .w           │ Silvio Levi's CWEB
224        .wav         │ wave sound file
225        .web         │ Donald Knuth's WEB
226        .wml         │ Source file for Web Meta Language
227        .xbm         │ X11 bitmap source
228        .xcf         │ GIMP graphic
229        .xml         │ eXtended Markup Language file
230        .xpm         │ X11 pixmap source
231        .xs          │ Perl xsub file produced by h2xs
232        .xsl         │ XSL stylesheet
233        .yyacc(1) or bison(1) (parser generator) files
234        .z           │ File compressed using pack(1) (or an old gzip(1))
235        .zipzip(1) archive
236        .zoo         │ zoo(1) archive
237        ~            │ Emacs or patch(1) backup file
238        rc           │ startup (`run control') file, e.g., .newsrc
239

CONFORMING TO

241       General Unix conventions.
242

BUGS

244       This list is not exhaustive.
245

SEE ALSO

247       file(1), make(1)
248

COLOPHON

250       This page is part of release 3.25 of the Linux  man-pages  project.   A
251       description  of  the project, and information about reporting bugs, can
252       be found at http://www.kernel.org/doc/man-pages/.
253
254
255
256Linux                             2000-11-16                       SUFFIXES(7)
Impressum