SUFFIXES(7)         Linux Programmer's Manual         SUFFIXES(7)

NAME
       suffixes - list of file suffixes

DESCRIPTION
       It  is  customary  to mark 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 compil-
       ers use this to recognize the type of file they are  deal-
       ing  with, and the make(1) utility contains many rules for
       dealing with files based on suffix type.

       Following is a list of suffixes which  are  likely  to  be
       found on a Linux system.
                    |
       Suffix       | File type
       -------------+----------------------------------------------------
        ,v          | Files for RCS (Revision Control System)
        -           | backup file
        .C          | C++ source code
        .F          | FORTRAN source with cpp(1) directives
        .S          | Assembler source with cpp(1) directives
        .Z          | File compressed using compress(1)
        .[0-9]+pk   | TeX 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
        .afm        | PostScript font metrics
        .arc        | ARC archive
        .arj        | ARJ archive
        .asc        | PGP ASCII-armoured data
        .awk        | AWK language program
        .bak        | Backup file
        .bm         | Bitmap source
        .c          | C source
        .cat        | Message catalog files
        .cf         | configuration file
        .conf       | configuration file
        .config     | configuration file
        .cweb       | Donald Knuth's WEB for C
        .dat        | data file
        .def        | Modula-2 source for definition modules
        .def        | other definition files
        .diff       | ASCII File differences
        .doc        | documentation file
        .dvi        | TeX device independent output
        .el         | EMACS lisp source
        .elc        | compiled EMACS lisp
        .eps        | encapsulated postscript
        .f          | FORTRAN source
        .fas        | pre-compiled common Lisp
        .fi         | FORTRAN include files
        .gif        | Graphics Interchange Format
        .gsf        | Ghostscript fonts

Linux                     April 4, 1996                         1

SUFFIXES(7)         Linux Programmer's Manual         SUFFIXES(7)

                    |
        .gz         | File compressed using gzip(1)
        .h          | C or C++ header files
        .hlp        | Help file
        .i          | C source after preprocessing
        .icon       | Bitmap source
        .image      | Bitmap source
        .in         | Input file for some utility
        .info       | Files for the EMACS info browser
        .jpg        | JPEG compressed picture format
        .l          | lex(1) or flex(1) files
        .lib        | Common Lisp library
        .ln         | Files for use with lint(1)
        .lsp        | Common Lisp source
        .m4         | M4(1) source
        .mac        | Macro files for various programs
        .man        | Manual page
        .me         | Nroff source using the me macro package
        .mf         | Metafont (font generator for TeX) source
        .mm         | Sources for groff(1) in mm - format
        .mod        | Modula-2 source for implementation modules
        .o          | object file
        .old        | old or backup file
        .orig       | Backup (original) version of a file, from patch(1)
        .out        | Output file, often executable program (a.out)
        .p          | Pascal source
        .patch      | File differences from patch(1)
        .pcf        | X11 font files (???)
        .pfa        | Postscript font definition files, ASCII format
        .pfb        | Postscript font definition files, binary format
        .pgp        | PGP binary data
        .pid        | File to store daemon pid (e.g. crond.pid)
        .pl         | Perl script
        .pr         | Bitmap source
        .ps         | Postscript file
        .r          | RATFOR source
        .rej        | Patches that patch(1) couldn't apply
        .rules      | Rules for something
        .s          | Assembler source
        .sa         | Stub libraries for a.out shared libraries
        .sc         | sc(1) spreadsheed commands
        .sh         | sh(1) scripts
        .shar       | archive created by the shar(1) utility
        .so         | DLL dynamic library
        .sty        | LaTeX style files
        .sym        | Modula-2 compiled definition modules
        .tar        | archive created by the tar(1) utility
        .tar.Z      | tar archive compressed with compress(1)
        .tar.gz     | tar archive compressed with gzip(1)
        .taz        | Tar archive compressed with compress(1)
        .tex        | TeX or LaTeX source
        .texi       | equivalent to .texinfo
        .texinfo    | TeXinfo documentation source
        .tfm        | TeX font metrics

Linux                     April 4, 1996                         2

SUFFIXES(7)         Linux Programmer's Manual         SUFFIXES(7)

                    |
        .tgz        | Tar archive compressed with gzip(1)
        .tmpl       | Template files
        .txt        | Text file
        .uue        | Binary file encoded with uuencode(1)
        .web        | Donald Knuth's WEB
        .y          | yacc(1) or bison(1) (parser generator) files
        .z          | File compressed using pack(1) (or an old gzip(1))
        .zoo        | ZOO archive
        ~           | EMACS or patch backup file
        rc          | Startup file, e.g. .newsrc

CONFORMS TO
       General UNIX conventions

BUGS
       This list is not exhaustive.

SEE ALSO
       file(1), make(1)

Linux                     April 4, 1996                         3