Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation: man pages: man7: Linux Programmer's Manual (7)

Manpage of SUFFIXES

SUFFIXES

Section: Linux Programmer's Manual (7)
Updated: April 4, 2025
Index  

NAME

suffixes - list of file suffixes  

DESCRIPTION

It is customary to indicate the contents of a file with the file suffix, which consists of a period, followed by one or more letters. Many standard utilities, such as compilers, use this to recognize the type of file they are dealing with. The utility is driven by rules based on file suffix.

Following is a list of suffixes which are likely to be found on a Linux system.

SuffixFile type



 -
backup file

 .C
C++ source code
or file compressed using freeze

 .Y
file compressed using yabba

 .[0-9]+gf
TeX generic font files

 .[0-9]+pk
TeX packed font files

 .[1-9]
manual page for the corresponding section

 .[1-9][a-z]
manual page for section plus subsection

 .a
static object code library

 .ad
X application default resource file

 .afm
PostScript font metrics

 .al
Perl autoload file

 .asc
PGP ASCII-armoured data

 .asm
(GNU) assember source file

 .au
Audio sound file

 .aux
LaTeX auxiliary file

 .avi
(msvideo) movie

 .awk
AWK language program

 .b
LILO boot loader image

 .bak
backup file

 .bb
basic block list data produced by gcc -ftest-coverage

 .bbg
basic block graph data produced by gcc -ftest-coverage

 .bbl
BibTeX output

 .bdf
X font file

 .bib
TeX bibliographic database, BibTeX input

 .bm
bitmap source

 .bmp
bitmap

 .c
C source

 .cat
message catalog files

 .cc
C++ source

 .cf
configuration file

 .cfg
configuration file

 .cgi
WWW content generating script or program

 .class
Java compiled byte-code

 .conf
configuration file

 .config
configuration file

 .cpp
equivalent to .cc

 .cxx
equivalent to .cc

 .dat
data file

 .deb
Debian software package

 .def
Modula-2 source for definition modules

 .def
other definition files

 .desc
initial part of mail message unpacked with munpack

 .dir
dbm data base directory file

 .doc
documentation file

 .dtx
LaTeX package source file

 .dvi
TeX's device independent output

 .el
Emacs-Lisp source

 .elc
compiled Emacs-Lisp source

 .eps
encapsulated PostScript

 .f
Fortran source

 .fas
pre-compiled Common-Lisp

 .fi
Fortran include files

 .fmt
TeX format file

 .gif
Compuserve Graphics Image File format

 .gmo
GNU format message catalog

 .gsf
Ghostscript fonts

 .h
C or C++ header files

 .help
help file

 .hf
equivalent to .help

 .hlp
equivalent to .help

 .htm
poor man's .html

 .html
HTML document used with the World Wide Web

 .hqx
7-bit encoded Macintosh file

 .i
C source after preprocessing

 .icon
bitmap source

 .idx
reference or datum-index file for hypertext or database system

 .image
bitmap source

 .in
configuration template, especially for GNU Autoconf

 .info
files for the Emacs info browser

 .info-[0-9]+
splitted info files

 .ins
LaTeX package install file for docstrip

 .java
a Java source file

 .jpeg
Joint Photographic Experts Group format

 .jpg
poor man's .jpeg

 .l
equivalent to .lex or .lisp

 .lha
lharc archive

 .lib
Common-Lisp library

 .lisp
Lisp source

 .log
log file, in particular produced by TeX

 .lsm
Linux Software Map entry

 .lsp
Common-Lisp source

 .lzh
lharc archive

 .mac
macro files for various programs

 .man
manual page (usually source rather than formatted)

 .map
map files for various programs

 .me
Nroff source using the me macro package

 .mf
Metafont (font generator for TeX) source

 .mo
Message catalog binary file

 .mod
Modula-2 source for implementation modules

 .mov
(quicktime) movie

 .mp
Metapost source

 .mpeg
movie file

 .o
object file

 .old
old or backup file

 .out
output file, often executable program (a.out)

 .p
Pascal source

 .pag
dbm data base data file

 .pbm
portable bitmap format

 .pcf
X11 font files

 .pdf
Adobe Portable Data Format (use Acrobat/acroread or xpdf)

 .perl
Perl source

 .pfa
PostScript font definition files, ASCII format

 .pfb
PostScript font definition files, binary format

 .pgm
portable greymap format

 .pgp
PGP binary data

 .ph
Perl header file

 .pid
File to store daemon pid (e.g. crond.pid)

 .pl
TeX property list file or Perl library file

 .pm
Perl module

 .png
Portable Network Graphics file

 .po
Message catalog source

 .ppm
portable pixmap format

 .pr
bitmap source

 .ps
PostScript file

 .py
Python source

 .pyc
compiled python

 .qt
quicktime movie

 .r
RATFOR source (obsolete)

 .rpm
RedHat software package

 .rtf
Rich Text Format file

 .rules
rules for something

 .s
assembler source

 .sa
stub libraries for a.out shared libraries

 .sgml
SGML source file

 .so
Shared library or dynamically loadable object

 .sql
SQL source

 .sqml
SQML schema or query program

 .sty
LaTeX style files

 .sym
Modula-2 compiled definition modules

 .tex
TeX or LaTeX source

 .texi
equivalent to .texinfo

 .texinfo
Texinfo documentation source

 .text
text file

 .tfm
TeX font metric file

 .tif
poor man's .tiff

 .tiff
Tagged Image File Format

 .tk
tcl/tk script

 .tmp
temporary file

 .tmpl
template files

 .txt
equivalent to .text

 .uu
equivalent to .uue

 .vf
TeX virtual font file

 .vpl
TeX virtual property list file

 .w
Silvio Levi's CWEB

 .wav
wave sound file

 .web
Donald Knuth's WEB

 .xbm
X11 bitmap source

 .xpm
X11 pixmap source

 .xs
Perl xsub file produced by h2xs

 rc
startup (`run control') file, e.g. .newsrc
 

CONFORMS TO

General UNIX conventions.  

BUGS

This list is not exhaustive.  

SEE ALSO


 

Index

NAME
DESCRIPTION
CONFORMS TO
BUGS
SEE ALSO

This document was created by using the manual pages.
Time: 12:14:04 GMT, March 24, 2025

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat