Debian Codegraph @

upstream/fedora-44/man7/suffixes.7

raw
1 '\" t
2 .\" Copyright (c) 1993 by Thomas Koenig ([email protected])
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .\" Modified Sat Jul 24 17:35:15 1993 by Rik Faith <[email protected]>
7 .\" Modified Sun Feb 19 22:02:32 1995 by Rik Faith <[email protected]>
8 .\" Modified Tue Oct 22 23:28:12 1996 by Eric S. Raymond <[email protected]>
9 .\" Modified Sun Jan 26 21:56:56 1997 by Ralph Schleicher
10 .\" <[email protected]>
11 .\" Modified Mon Jun 16 20:24:58 1997 by Nicolás Lichtmaier <[email protected]>
12 .\" Modified Sun Oct 18 22:11:28 1998 by Joseph S. Myers <[email protected]>
13 .\" Modified Mon Nov 16 17:24:47 1998 by Andries Brouwer <[email protected]>
14 .\" Modified Thu Nov 16 23:28:25 2000 by David A. Wheeler
15 .\" <[email protected]>
16 .\"
17 .TH SUFFIXES 7 2024-09-01 "Linux man-pages 6.13"
18 .SH NAME
19 suffixes \- list of file suffixes
20 .SH DESCRIPTION
21 It is customary to indicate the contents of a file with the file suffix,
22 which (typically) consists of a period, followed by one or more letters.
23 Many standard utilities, such as compilers, use this to recognize the type of
24 file they are dealing with.
25 The
26 .BR make (1)
27 utility is driven by rules based on file suffix.
28 .P
29 Following is a list of suffixes which are likely to be found on a
30 Linux system.
31 .P
32 .TS
33 l | l
34 _ | _
35 lI | l .
36 Suffix File type
37 \&,v files for RCS (Revision Control System)
38 \&- backup file
39 \&.C C++ source code, equivalent to \fI.cc\fP
40 \&.F Fortran source with \fBcpp\fP(1) directives
41 \& or file compressed using freeze
42 \&.S assembler source with \fBcpp\fP(1) directives
43 \&.Y file compressed using yabba
44 \&.Z file compressed using \fBcompress\fP(1)
45 \&.[0\-9]+gf TeX generic font files
46 \&.[0\-9]+pk TeX packed font files
47 \&.[1\-9] manual page for the corresponding section
48 \&.[1\-9][a-z] manual page for section plus subsection
49 \&.a static object code library
50 \&.ad X application default resource file
51 \&.ada Ada source (may be body, spec, or combination)
52 \&.adb Ada body source
53 \&.ads Ada spec source
54 \&.afm PostScript font metrics
55 \&.al Perl autoload file
56 \&.am \fBautomake\fP(1) input file
57 \&.arc \fBarc\fP(1) archive
58 \&.arj \fBarj\fP(1) archive
59 \&.asc PGP ASCII-armored data
60 \&.asm (GNU) assembler source file
61 \&.au Audio sound file
62 \&.aux LaTeX auxiliary file
63 \&.avi (msvideo) movie
64 \&.awk AWK language program
65 \&.b LILO boot loader image
66 \&.bak backup file
67 \&.bash \fBbash\fP(1) shell script
68 \&.bb basic block list data produced by
69 \& gcc \-ftest\-coverage
70 \&.bbg basic block graph data produced by
71 \& gcc \-ftest\-coverage
72 \&.bbl BibTeX output
73 \&.bdf X font file
74 \&.bib TeX bibliographic database, BibTeX input
75 \&.bm bitmap source
76 \&.bmp bitmap
77 \&.bz2 file compressed using \fBbzip2\fP(1)
78 \&.c C source
79 \&.cat message catalog files
80 \&.cc C++ source
81 \&.cf configuration file
82 \&.cfg configuration file
83 \&.cgi WWW content generating script or program
84 \&.cls LaTeX Class definition
85 \&.class Java compiled byte-code
86 \&.conf configuration file
87 \&.config configuration file
88 \&.cpp equivalent to \fI.cc\fR
89 \&.csh \fBcsh\fP(1) shell script
90 \&.cxx equivalent to \fI.cc\fR
91 \&.dat data file
92 \&.deb Debian software package
93 \&.def Modula-2 source for definition modules
94 \&.def other definition files
95 \&.desc initial part of mail message unpacked with
96 \& \fBmunpack\fP(1)
97 \&.diff T{
98 file differences (\c
99 .BR diff (1)
100 command output)
101 T}
102 \&.dir dbm data base directory file
103 \&.doc documentation file
104 \&.dsc Debian Source Control (source package)
105 \&.dtx LaTeX package source file
106 \&.dvi TeX's device independent output
107 \&.el Emacs-Lisp source
108 \&.elc compiled Emacs-Lisp source
109 \&.eps encapsulated PostScript
110 \&.exp Expect source code
111 \&.f Fortran source
112 \&.f77 Fortran 77 source
113 \&.f90 Fortran 90 source
114 \&.fas precompiled Common-Lisp
115 \&.fi Fortran include files
116 \&.fig T{
117 FIG image file (used by
118 .BR xfig (1))
119 T}
120 \&.fmt TeX format file
121 \&.gif Compuserve Graphics Image File format
122 \&.gmo GNU format message catalog
123 \&.gsf Ghostscript fonts
124 \&.gz file compressed using \fBgzip\fP(1)
125 \&.h C or C++ header files
126 \&.help help file
127 \&.hf equivalent to \fI.help\fP
128 \&.hlp equivalent to \fI.help\fP
129 \&.htm poor man's \fI.html\fP
130 \&.html HTML document used with the World Wide Web
131 \&.hqx 7-bit encoded Macintosh file
132 \&.i C source after preprocessing
133 \&.icon bitmap source
134 \&.idx reference or datum-index file for hypertext
135 \& or database system
136 \&.image bitmap source
137 \&.in configuration template, especially for GNU Autoconf
138 \&.info files for the Emacs info browser
139 \&.info-[0\-9]+ split info files
140 \&.ins LaTeX package install file for docstrip
141 \&.itcl itcl source code;
142 \& itcl ([incr Tcl]) is an OO extension of tcl
143 \&.java a Java source file
144 \&.jpeg Joint Photographic Experts Group format
145 \&.jpg poor man's \fI.jpeg\fP
146 \&.js JavaScript source code
147 \&.jsx JSX (JavaScript XML-like extension) source code
148 \&.kmap \fBlyx\fP(1) keymap
149 \&.l equivalent to \fI.lex\fP or \fI.lisp\fP
150 \&.lex \fBlex\fP(1) or \fBflex\fP(1) files
151 \&.lha lharc archive
152 \&.lib Common-Lisp library
153 \&.lisp Lisp source
154 \&.ln files for use with \fBlint\fP(1)
155 \&.log log file, in particular produced by TeX
156 \&.lsm Linux Software Map entry
157 \&.lsp Common-Lisp source
158 \&.lzh lharc archive
159 \&.m Objective-C source code
160 \&.m4 \fBm4\fP(1) source
161 \&.mac macro files for various programs
162 \&.man manual page (usually source rather than formatted)
163 \&.map map files for various programs
164 \&.me Nroff source using the me macro package
165 \&.mf Metafont (font generator for TeX) source
166 \&.mgp MagicPoint file
167 \&.mm sources for \fBgroff\fP(1) in mm - format
168 \&.mo Message catalog binary file
169 \&.mod Modula-2 source for implementation modules
170 \&.mov (quicktime) movie
171 \&.mp Metapost source
172 \&.mp2 MPEG Layer 2 (audio) file
173 \&.mp3 MPEG Layer 3 (audio) file
174 \&.mpeg movie file
175 \&.o object file
176 \&.old old or backup file
177 \&.orig backup (original) version of a file, from \fBpatch\fP(1)
178 \&.out output file, often executable program (a.out)
179 \&.p Pascal source
180 \&.pag dbm data base data file
181 \&.patch file differences for \fBpatch\fP(1)
182 \&.pbm portable bitmap format
183 \&.pcf X11 font files
184 \&.pdf Adobe Portable Data Format
185 \& (use Acrobat/\fBacroread\fP or \fBxpdf\fP)
186 \&.perl Perl source (see .ph, .pl, and .pm)
187 \&.pfa PostScript font definition files, ASCII format
188 \&.pfb PostScript font definition files, binary format
189 \&.pgm portable greymap format
190 \&.pgp PGP binary data
191 \&.ph Perl header file
192 \&.php PHP program file
193 \&.php3 PHP3 program file
194 \&.pid File to store daemon PID (e.g., crond.pid)
195 \&.pl TeX property list file or Perl library file
196 \&.pm Perl module
197 \&.png Portable Network Graphics file
198 \&.po Message catalog source
199 \&.pod \fBperldoc\fP(1) file
200 \&.ppm portable pixmap format
201 \&.pr bitmap source
202 \&.ps PostScript file
203 \&.py Python source
204 \&.pyc compiled python
205 \&.qt quicktime movie
206 \&.r RATFOR source (obsolete)
207 \&.rej patches that \fBpatch\fP(1) couldn't apply
208 \&.rpm RPM software package
209 \&.rtf Rich Text Format file
210 \&.rules rules for something
211 \&.s assembler source
212 \&.sa stub libraries for a.out shared libraries
213 \&.sc \fBsc\fP(1) spreadsheet commands
214 \&.scm Scheme source code
215 \&.sed sed source file
216 \&.sgml SGML source file
217 \&.sh \fBsh\fP(1) scripts
218 \&.shar archive created by the \fBshar\fP(1) utility
219 \&.shtml HTML using Server Side Includes
220 \&.so Shared library or dynamically loadable object
221 \&.sql SQL source
222 \&.sqml SQML schema or query program
223 \&.sty LaTeX style files
224 \&.sym Modula-2 compiled definition modules
225 \&.tar archive created by the \fBtar\fP(1) utility
226 \&.tar.Z tar(1) archive compressed with \fBcompress\fP(1)
227 \&.tar.bz2 tar(1) archive compressed with \fBbzip2\fP(1)
228 \&.tar.gz tar(1) archive compressed with \fBgzip\fP(1)
229 \&.taz tar(1) archive compressed with \fBcompress\fP(1)
230 \&.tcl tcl source code
231 \&.tex TeX or LaTeX source
232 \&.texi equivalent to \fI.texinfo\fP
233 \&.texinfo Texinfo documentation source
234 \&.text text file
235 \&.tfm TeX font metric file
236 \&.tgz tar archive compressed with \fBgzip\fP(1)
237 \&.tif poor man's \fI.tiff\fP
238 \&.tiff Tagged Image File Format
239 \&.tk tcl/tk script
240 \&.tmp temporary file
241 \&.tmpl template files
242 \&.ts TypeScript source code
243 \&.tsx TypeScript with JSX source code (\fI.ts\fP + \fI.jsx\fP)
244 \&.txt equivalent to \fI.text\fP
245 \&.uu equivalent to \fI.uue\fP
246 \&.uue binary file encoded with \fBuuencode\fP(1)
247 \&.vf TeX virtual font file
248 \&.vpl TeX virtual property list file
249 \&.w Silvio Levi's CWEB
250 \&.wav wave sound file
251 \&.web Donald Knuth's WEB
252 \&.wml Source file for Web Meta Language
253 \&.xbm X11 bitmap source
254 \&.xcf GIMP graphic
255 \&.xml eXtended Markup Language file
256 \&.xpm X11 pixmap source
257 \&.xs Perl xsub file produced by h2xs
258 \&.xsl XSL stylesheet
259 \&.y \fByacc\fP(1) or \fBbison\fP(1) (parser generator) files
260 \&.z T{
261 File compressed using
262 .BR pack (1)
263 (or an old
264 .BR gzip (1))
265 T}
266 \&.zip \fBzip\fP(1) archive
267 \&.zoo \fBzoo\fP(1) archive
268 \&\[ti] Emacs or \fBpatch\fP(1) backup file
269 \&rc startup (`run control') file, e.g., \fI.newsrc\fP
270 .TE
271 .SH STANDARDS
272 General UNIX conventions.
273 .SH BUGS
274 This list is not exhaustive.
275 .SH SEE ALSO
276 .BR file (1),
277 .BR make (1)