1SUFFIXES(7)            Miscellaneous Information 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 (typically) consists of a period, followed by  one  or  more
11       letters.   Many standard utilities, such as compilers, use this to rec‐
12       ognize the type of file they are dealing with.  The make(1) utility  is
13       driven by rules 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       .js          │ JavaScript source code
124       .jsx         │ JSX (JavaScript XML-like extension) source code
125       .kmaplyx(1) keymap
126       .l           │ equivalent to .lex or .lisp
127       .lexlex(1) or flex(1) files
128       .lha         │ lharc archive
129       .lib         │ Common-Lisp library
130       .lisp        │ Lisp source
131       .ln          │ files for use with lint(1)
132
133       .log         │ log file, in particular produced by TeX
134       .lsm         │ Linux Software Map entry
135       .lsp         │ Common-Lisp source
136       .lzh         │ lharc archive
137       .m           │ Objective-C source code
138       .m4m4(1) source
139       .mac         │ macro files for various programs
140       .man         │ manual page (usually source rather than formatted)
141       .map         │ map files for various programs
142       .me          │ Nroff source using the me macro package
143       .mf          │ Metafont (font generator for TeX) source
144       .mgp         │ MagicPoint file
145       .mm          │ sources for groff(1) in mm - format
146       .mo          │ Message catalog binary file
147       .mod         │ Modula-2 source for implementation modules
148       .mov         │ (quicktime) movie
149       .mp          │ Metapost source
150       .mp2         │ MPEG Layer 2 (audio) file
151       .mp3         │ MPEG Layer 3 (audio) file
152       .mpeg        │ movie file
153       .o           │ object file
154       .old         │ old or backup file
155       .orig        │ backup (original) version of a file, from patch(1)
156       .out         │ output file, often executable program (a.out)
157       .p           │ Pascal source
158       .pag         │ dbm data base data file
159       .patch       │ file differences for patch(1)
160       .pbm         │ portable bitmap format
161       .pcf         │ X11 font files
162       .pdf         │ Adobe Portable Data Format
163                    │ (use Acrobat/acroread or xpdf)
164       .perl        │ Perl source (see .ph, .pl, and .pm)
165       .pfa         │ PostScript font definition files, ASCII format
166       .pfb         │ PostScript font definition files, binary format
167       .pgm         │ portable greymap format
168       .pgp         │ PGP binary data
169       .ph          │ Perl header file
170       .php         │ PHP program file
171       .php3        │ PHP3 program file
172       .pid         │ File to store daemon PID (e.g., crond.pid)
173       .pl          │ TeX property list file or Perl library file
174       .pm          │ Perl module
175       .png         │ Portable Network Graphics file
176       .po          │ Message catalog source
177       .podperldoc(1) file
178       .ppm         │ portable pixmap format
179       .pr          │ bitmap source
180       .ps          │ PostScript file
181       .py          │ Python source
182       .pyc         │ compiled python
183       .qt          │ quicktime movie
184       .r           │ RATFOR source (obsolete)
185       .rej         │ patches that patch(1) couldn't apply
186       .rpm         │ RPM software package
187       .rtf         │ Rich Text Format file
188       .rules       │ rules for something
189       .s           │ assembler source
190       .sa          │ stub libraries for a.out shared libraries
191       .scsc(1) spreadsheet commands
192       .scm         │ Scheme source code
193       .sed         │ sed source file
194       .sgml        │ SGML source file
195       .shsh(1) scripts
196       .shar        │ archive created by the shar(1) utility
197       .shtml       │ HTML using Server Side Includes
198
199       .so          │ Shared library or dynamically loadable object
200       .sql         │ SQL source
201       .sqml        │ SQML schema or query program
202       .sty         │ LaTeX style files
203       .sym         │ Modula-2 compiled definition modules
204       .tar         │ archive created by the tar(1) utility
205       .tar.Ztar(1) archive compressed with compress(1)
206       .tar.bz2tar(1) archive compressed with bzip2(1)
207       .tar.gztar(1) archive compressed with gzip(1)
208       .taztar(1) archive compressed with compress(1)
209       .tcl         │ tcl source code
210       .tex         │ TeX or LaTeX source
211       .texi        │ equivalent to .texinfo
212       .texinfo     │ Texinfo documentation source
213       .text        │ text file
214       .tfm         │ TeX font metric file
215       .tgz         │ tar archive compressed with gzip(1)
216       .tif         │ poor man's .tiff
217       .tiff        │ Tagged Image File Format
218       .tk          │ tcl/tk script
219       .tmp         │ temporary file
220       .tmpl        │ template files
221       .ts          │ TypeScript source code
222       .tsx         │ TypeScript with JSX source code (.ts + .jsx)
223       .txt         │ equivalent to .text
224       .uu          │ equivalent to .uue
225       .uue         │ binary file encoded with uuencode(1)
226       .vf          │ TeX virtual font file
227       .vpl         │ TeX virtual property list file
228       .w           │ Silvio Levi's CWEB
229       .wav         │ wave sound file
230       .web         │ Donald Knuth's WEB
231       .wml         │ Source file for Web Meta Language
232       .xbm         │ X11 bitmap source
233       .xcf         │ GIMP graphic
234       .xml         │ eXtended Markup Language file
235       .xpm         │ X11 pixmap source
236       .xs          │ Perl xsub file produced by h2xs
237       .xsl         │ XSL stylesheet
238       .yyacc(1) or bison(1) (parser generator) files
239       .z           │ File compressed using pack(1) (or an old gzip(1))
240       .zipzip(1) archive
241       .zoo         │ zoo(1) archive
242       ~            │ Emacs or patch(1) backup file
243       rc           │ startup (`run control') file, e.g., .newsrc
244

STANDARDS

246       General UNIX conventions.
247

BUGS

249       This list is not exhaustive.
250

SEE ALSO

252       file(1), make(1)
253
254
255
256Linux man-pages 6.05              2023-03-17                       SUFFIXES(7)
Impressum