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        .arc         │ arc(1) archive
41        .arj         │ arj(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        .cgi         │ WWW content generating script or program
67        .cls         │ LaTeX Class definition
68        .class       │ Java compiled byte-code
69        .conf        │ configuration file
70        .config      │ configuration file
71        .cpp         │ equivalent to .cc
72        .cshcsh(1) shell script
73        .cxx         │ equivalent to .cc
74        .dat         │ data file
75        .deb         │ Debian software package
76        .def         │ Modula-2 source for definition modules
77        .def         │ other definition files
78        .desc        │ initial part of mail message unpacked with
79                     │ munpack(1)
80        .diff        │ file differences (diff(1) command output)
81        .dir         │ dbm data base directory file
82        .doc         │ documentation file
83        .dsc         │ Debian Source Control (source package)
84        .dtx         │ LaTeX package source file
85        .dvi         │ TeX's device independent output
86        .el          │ Emacs-Lisp source
87        .elc         │ compiled Emacs-Lisp source
88        .eps         │ encapsulated PostScript
89        .exp         │ Expect source code
90        .f           │ Fortran source
91        .f77         │ Fortran 77 source
92        .f90         │ Fortran 90 source
93        .fas         │ precompiled Common-Lisp
94        .fi          │ Fortran include files
95        .fig         │ FIG image file (used by xfig(1))
96        .fmt         │ TeX format file
97        .gif         │ Compuserve Graphics Image File format
98        .gmo         │ GNU format message catalog
99        .gsf         │ Ghostscript fonts
100        .gz          │ file compressed using gzip(1)
101        .h           │ C or C++ header files
102        .help        │ help file
103        .hf          │ equivalent to .help
104        .hlp         │ equivalent to .help
105        .htm         │ poor man's .html
106        .html        │ HTML document used with the World Wide Web
107        .hqx         │ 7-bit encoded Macintosh file
108        .i           │ C source after preprocessing
109        .icon        │ bitmap source
110        .idx         │ reference or datum-index file for hypertext
111                     │ or database system
112        .image       │ bitmap source
113        .in          │ configuration template, especially for GNU Autoconf
114        .info        │ files for the Emacs info browser
115        .info-[0-9]+ │ split info files
116        .ins         │ LaTeX package install file for docstrip
117        .itcl        │ itcl source code;
118                     │ itcl ([incr Tcl]) is an OO extension of tcl
119        .java        │ a Java source file
120        .jpeg        │ Joint Photographic Experts Group format
121        .jpg         │ poor man's .jpeg
122        .kmap        │ lyx(1) keymap
123        .l           │ equivalent to .lex or .lisp
124        .lexlex(1) or flex(1) files
125        .lha         │ lharc archive
126        .lib         │ Common-Lisp library
127        .lisp        │ Lisp source
128        .ln          │ files for use with lint(1)
129        .log         │ log file, in particular produced by TeX
130        .lsm         │ Linux Software Map entry
131        .lsp         │ Common-Lisp source
132        .lzh         │ lharc archive
133        .m           │ Objective-C source code
134        .m4m4(1) source
135        .mac         │ macro files for various programs
136        .man         │ manual page (usually source rather than formatted)
137        .map         │ map files for various programs
138        .me          │ Nroff source using the me macro package
139        .mf          │ Metafont (font generator for TeX) source
140        .mgp         │ MagicPoint file
141        .mm          │ sources for groff(1) in mm - format
142        .mo          │ Message catalog binary file
143        .mod         │ Modula-2 source for implementation modules
144        .mov         │ (quicktime) movie
145        .mp          │ Metapost source
146        .mp2         │ MPEG Layer 2 (audio) file
147        .mp3         │ MPEG Layer 3 (audio) file
148        .mpeg        │ movie file
149        .o           │ object file
150        .old         │ old or backup file
151        .orig        │ backup (original) version of a file, from patch(1)
152        .out         │ output file, often executable program (a.out)
153        .p           │ Pascal source
154        .pag         │ dbm data base data file
155        .patch       │ file differences for patch(1)
156        .pbm         │ portable bitmap format
157        .pcf         │ X11 font files
158        .pdf         │ Adobe Portable Data Format
159                     │ (use Acrobat/acroread or xpdf)
160        .perl        │ Perl source (see .ph, .pl and .pm)
161        .pfa         │ PostScript font definition files, ASCII format
162        .pfb         │ PostScript font definition files, binary format
163        .pgm         │ portable greymap format
164        .pgp         │ PGP binary data
165        .ph          │ Perl header file
166        .php         │ PHP program file
167        .php3        │ PHP3 program file
168        .pid         │ File to store daemon PID (e.g., crond.pid)
169        .pl          │ TeX property list file or Perl library file
170        .pm          │ Perl module
171        .png         │ Portable Network Graphics file
172        .po          │ Message catalog source
173        .podperldoc(1) file
174        .ppm         │ portable pixmap format
175        .pr          │ bitmap source
176        .ps          │ PostScript file
177        .py          │ Python source
178        .pyc         │ compiled python
179        .qt          │ quicktime movie
180        .r           │ RATFOR source (obsolete)
181        .rej         │ patches that patch(1) couldn't apply
182        .rpm         │ RPM software package
183        .rtf         │ Rich Text Format file
184        .rules       │ rules for something
185        .s           │ assembler source
186        .sa          │ stub libraries for a.out shared libraries
187        .sc          │ sc(1) spreadsheet commands
188        .scm         │ Scheme source code
189        .sed         │ sed source file
190        .sgml        │ SGML source file
191        .shsh(1) scripts
192        .shar        │ archive created by the shar(1) utility
193        .so          │ Shared library or dynamically loadable object
194        .sql         │ SQL source
195        .sqml        │ SQML schema or query program
196        .sty         │ LaTeX style files
197        .sym         │ Modula-2 compiled definition modules
198        .tar         │ archive created by the tar(1) utility
199        .tar.Ztar(1) archive compressed with compress(1)
200        .tar.bz2tar(1) archive compressed with bzip2(1)
201        .tar.gztar(1) archive compressed with gzip(1)
202        .taztar(1) archive compressed with compress(1)
203        .tcl         │ tcl source code
204        .tex         │ TeX or LaTeX source
205        .texi        │ equivalent to .texinfo
206        .texinfo     │ Texinfo documentation source
207        .text        │ text file
208        .tfm         │ TeX font metric file
209        .tgz         │ tar archive compressed with gzip(1)
210        .tif         │ poor man's .tiff
211        .tiff        │ Tagged Image File Format
212        .tk          │ tcl/tk script
213        .tmp         │ temporary file
214        .tmpl        │ template files
215        .txt         │ equivalent to .text
216        .uu          │ equivalent to .uue
217        .uue         │ binary file encoded with uuencode(1)
218        .vf          │ TeX virtual font file
219        .vpl         │ TeX virtual property list file
220        .w           │ Silvio Levi's CWEB
221        .wav         │ wave sound file
222        .web         │ Donald Knuth's WEB
223        .wml         │ Source file for Web Meta Language
224        .xbm         │ X11 bitmap source
225        .xcf         │ GIMP graphic
226        .xml         │ eXtended Markup Language file
227        .xpm         │ X11 pixmap source
228        .xs          │ Perl xsub file produced by h2xs
229        .xsl         │ XSL stylesheet
230        .yyacc(1) or bison(1) (parser generator) files
231        .z           │ File compressed using pack(1) (or an old gzip(1))
232        .zipzip(1) archive
233        .zoo         │ zoo(1) archive
234        ~            │ Emacs or patch(1) backup file
235        rc           │ startup (`run control') file, e.g., .newsrc
236

CONFORMING TO

238       General UNIX conventions.
239

BUGS

241       This list is not exhaustive.
242

SEE ALSO

244       file(1), make(1)
245

COLOPHON

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