SUFFIXES(7) Miscellaneous Information Manual SUFFIXES(7) suffixes - It is customary to indicate the contents of a file with the file suffix, which (typically) 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 make(1) utility is driven by rules based on file suffix. , , , Linux. | ----------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ,v | RCS (Revision Control System) - | .C | C++ source code, equivalent to .cc .F | Fortran source with cpp(1) directives | , freeze .S | assembler source with cpp(1) directives .Y | , yabba .Z | file compressed using compress(1) .[0-9]+gf | TeX .[0-9]+pk | TeX .[1-9] | .[1-9][a-z] | .a | .ad | X .ada | (, ) .adb | .ads | .afm | PostScript .al | Perl .am | automake(1) input file .arc | arc(1) archive .arj | arj(1) archive .asc | ASCII, PGP .asm | (GNU) .au | .aux | LaTeX .avi | (msvideo) .awk | AWK .b | LILO .bak | .bash | bash(1) shell script .bb | , | gcc -ftest-coverage .bbg | , | gcc -ftest-coverage .bbl | BibTeX .bdf | X .bib | TeX, BibTeX .bm | .bmp | bitmap .bz2 | file compressed using bzip2(1) .c | .cat | .cc | ++ .cf | .cfg | .cgi | , WWW .cls | LaTeX .class | - Java .conf | .config | .cpp | equivalent to .cc .csh | csh(1) shell script .cxx | equivalent to .cc .dat | .deb | Debian .def | Modula-2 .def | .desc | , | munpack(1) .diff | file differences ( diff(1) command output) .dir | dbm .doc | .dsc | Debian Source Control ( ) .dtx | LaTeX .dvi | TeX .el | Emacs-Lisp .elc | Emacs-Lisp .eps | PostScript .exp | Expect .f | .f77 | 77 .f90 | 90 .fas | Common-Lisp .fi | .fig | FIG image file (used by xfig(1)) .fmt | TeX .gif | Compuserve Graphics Image File .gmo | GNU .gsf | Ghostscript .gz | file compressed using gzip(1) .h | C C++ .help | .hf | equivalent to .help .hlp | equivalent to .help .htm | poor man's .html .html | HTML, World Wide Web .hqx | Macintosh 7- .i | C .icon | .idx | | .image | .in | , GNU Autoconf .info | Emacs .info-[0-9]+ | info .ins | LaTeX docstrip .itcl | itcl; | itcl ([incr Tcl]) -- - tcl .java | Java .jpeg | Joint Photographic Experts Group .jpg | poor man's .jpeg .js | JavaScript .jsx | JSX (JavaScript XML-like extension) source code .kmap | lyx(1) keymap .l | equivalent to .lex or .lisp .lex | lex(1) or flex(1) files .lha | lharc .lib | Common-Lisp .lisp | Lisp .ln | files for use with lint(1) .log | , , TeX .lsm | Linux Software Map .lsp | Common-Lisp .lzh | lharc .m | Objective-C .m4 | m4(1) source .mac | .man | (, , ) .map | .me | nroff, me .mf | metafont ( TeX) .mgp | MagicPoint .mm | sources for groff(1) in mm - format .mo | .mod | Modula-2 .mov | (quicktime) .mp | Metapost .mp2 | MPEG Layer 2 () .mp3 | MPEG Layer 3 () .mpeg | .o | .old | .orig | backup (original) version of a file, from patch(1) .out | , (a.out) .p | Pascal .pag | dbm .patch | file differences for patch(1) .pbm | .pcf | X11 .pdf | Adobe | (use Acrobat/acroread or xpdf) .perl | Perl ( .ph, .pl .pm) .pfa | PostScript ASCII .pfb | PostScript .pgm | .pgp | PGP .ph | Perl .php | PHP .php3 | PHP3 .pid | PID (, crond.pid) .pl | TeX Perl .pm | Perl .png | Portable Network Graphics .po | .pod | perldoc(1) file .ppm | pixmap .pr | .ps | PostScript .py | Python .pyc | python .qt | quicktime .r | RATFOR () .rej | patches that patch(1) couldn't apply .rpm | RPM .rtf | Rich Text Format .rules | - .s | .sa | - a.out .sc | sc(1) spreadsheet commands .scm | Scheme .sed | sed .sgml | SGML .sh | sh(1) scripts .shar | archive created by the shar(1) utility .shtml | HTML .so | .sql | SQL .sqml | SQML - .sty | LaTeX .sym | Modula-2 .tar | archive created by the tar(1) utility .tar.Z | tar(1) archive compressed with compress(1) .tar.bz2 | tar(1) archive compressed with bzip2(1) .tar.gz | tar(1) archive compressed with gzip(1) .taz | tar(1) archive compressed with compress(1) .tcl | tcl .tex | TeX LaTeX .texi | equivalent to .texinfo .texinfo | Texinfo .text | .tfm | TeX .tgz | tar archive compressed with gzip(1) .tif | poor man's .tiff .tiff | (TIFF) .tk | tcl/tk .tmp | .tmpl | .ts | TypeScript .tsx | TypeScript with JSX source code (.ts + .jsx) .txt | equivalent to .text .uu | equivalent to .uue .uue | binary file encoded with uuencode(1) .vf | TeX .vpl | TeX .w | CWEB .wav | .web | WEB .wml | Web Meta Language .xbm | X11 .xcf | GIMP .xml | eXtended Markup Language .xpm | X11 .xs | Perl xsub, h2xs .xsl | XSL .y | yacc(1) or bison(1) (parser generator) files .z | File compressed using pack(1) (or an old gzip(1)) .zip | zip(1) archive .zoo | zoo(1) archive ~ | Emacs or patch(1) backup file rc | startup (`run control') file, e.g., .newsrc UNIX. . file(1), make(1) () Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . SUFFIXES(7)