2004-11-03 13:51:07 +00:00
|
|
|
|
'\" t
|
2008-07-08 14:32:54 +00:00
|
|
|
|
.\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.\"
|
|
|
|
|
.\" Permission is granted to make and distribute verbatim copies of this
|
|
|
|
|
.\" manual provided the copyright notice and this permission notice are
|
|
|
|
|
.\" preserved on all copies.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Permission is granted to copy and distribute modified versions of this
|
|
|
|
|
.\" manual under the conditions for verbatim copying, provided that the
|
|
|
|
|
.\" entire resulting derived work is distributed under the terms of a
|
|
|
|
|
.\" permission notice identical to this one.
|
2007-04-12 22:42:49 +00:00
|
|
|
|
.\"
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.\" Since the Linux kernel and libraries are constantly changing, this
|
|
|
|
|
.\" manual page may be incorrect or out-of-date. The author(s) assume no
|
|
|
|
|
.\" responsibility for errors or omissions, or for damages resulting from
|
|
|
|
|
.\" the use of the information contained herein. The author(s) may not
|
|
|
|
|
.\" have taken the same level of care in the production of this manual,
|
|
|
|
|
.\" which is licensed free of charge, as they might when working
|
|
|
|
|
.\" professionally.
|
2007-04-12 22:42:49 +00:00
|
|
|
|
.\"
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.\" Formatted or processed versions of this manual, if unaccompanied by
|
|
|
|
|
.\" the source, must acknowledge the copyright and authors of this work.
|
|
|
|
|
.\" License.
|
|
|
|
|
.\" Modified Sat Jul 24 17:35:15 1993 by Rik Faith <faith@cs.unc.edu>
|
|
|
|
|
.\" Modified Sun Feb 19 22:02:32 1995 by Rik Faith <faith@cs.unc.edu>
|
|
|
|
|
.\" Modified Tue Oct 22 23:28:12 1996 by Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
.\" Modified Sun Jan 26 21:56:56 1997 by Ralph Schleicher
|
|
|
|
|
.\" <rs@purple.UL.BaWue.DE>
|
|
|
|
|
.\" Modified Mon Jun 16 20:24:58 1997 by Nicol<6F>s Lichtmaier <nick@debian.org>
|
|
|
|
|
.\" Modified Sun Oct 18 22:11:28 1998 by Joseph S. Myers <jsm28@cam.ac.uk>
|
|
|
|
|
.\" Modified Mon Nov 16 17:24:47 1998 by Andries Brouwer <aeb@cwi.nl>
|
|
|
|
|
.\" Modified Thu Nov 16 23:28:25 2000 by David A. Wheeler
|
|
|
|
|
.\" <dwheeler@dwheeler.com>
|
2007-05-21 16:44:40 +00:00
|
|
|
|
.\"
|
|
|
|
|
.\" FIXME, mtk, May 2007: rendering this page yields the error:
|
|
|
|
|
.\" grotty:suffixes.7:1725: character above first line discarded
|
|
|
|
|
.\"
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.TH SUFFIXES 7 2000-11-16 "Linux" "Linux Programmer's Manual"
|
|
|
|
|
.SH NAME
|
|
|
|
|
suffixes \- list of file suffixes
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
It is customary to indicate the contents of a file with the file suffix,
|
2007-04-12 22:42:49 +00:00
|
|
|
|
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
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.BR make (1)
|
|
|
|
|
utility is driven by rules based on file suffix.
|
|
|
|
|
.PP
|
|
|
|
|
Following is a list of suffixes which are likely to be found on a
|
|
|
|
|
Linux system.
|
|
|
|
|
.PP
|
2007-04-12 22:42:49 +00:00
|
|
|
|
.TS
|
2004-11-03 13:51:07 +00:00
|
|
|
|
l | l
|
|
|
|
|
_ | _
|
|
|
|
|
lI | l .
|
|
|
|
|
Suffix File type
|
|
|
|
|
,v files for RCS (Revision Control System)
|
|
|
|
|
- backup file
|
|
|
|
|
.C C++ source code, equivalent to \fI.cc\fP
|
|
|
|
|
.F Fortran source with \fBcpp\fP(1) directives
|
|
|
|
|
or file compressed using freeze
|
|
|
|
|
.S assembler source with \fBcpp\fP(1) directives
|
|
|
|
|
.Y file compressed using yabba
|
|
|
|
|
.Z file compressed using \fBcompress\fP(1)
|
|
|
|
|
.[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
|
|
|
|
|
.ada Ada source (may be body, spec, or combination)
|
|
|
|
|
.adb Ada body source
|
|
|
|
|
.ads Ada spec source
|
|
|
|
|
.afm PostScript font metrics
|
|
|
|
|
.al Perl autoload file
|
|
|
|
|
.am \fBautomake\fP(1) input file
|
|
|
|
|
.arc \fBarc\fP(1) archive
|
|
|
|
|
.arj \fBarj\fP(1) archive
|
2007-06-08 09:56:56 +00:00
|
|
|
|
.asc PGP ASCII-armored data
|
2005-06-24 14:17:21 +00:00
|
|
|
|
.asm (GNU) assembler source file
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.au Audio sound file
|
|
|
|
|
.aux LaTeX auxiliary file
|
|
|
|
|
.avi (msvideo) movie
|
|
|
|
|
.awk AWK language program
|
|
|
|
|
.b LILO boot loader image
|
|
|
|
|
.bak backup file
|
|
|
|
|
.bash \fBbash\fP(1) shell script
|
|
|
|
|
.bb basic block list data produced by
|
2008-06-26 13:23:48 +00:00
|
|
|
|
gcc \-ftest\-coverage
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.bbg basic block graph data produced by
|
2008-06-26 13:23:48 +00:00
|
|
|
|
gcc \-ftest\-coverage
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.bbl BibTeX output
|
|
|
|
|
.bdf X font file
|
|
|
|
|
.bib TeX bibliographic database, BibTeX input
|
|
|
|
|
.bm bitmap source
|
|
|
|
|
.bmp bitmap
|
|
|
|
|
.bz2 file compressed using \fBbzip2\fP(1)
|
|
|
|
|
.c C source
|
|
|
|
|
.cat message catalog files
|
|
|
|
|
.cc C++ source
|
|
|
|
|
.cf configuration file
|
|
|
|
|
.cfg configuration file
|
|
|
|
|
.cgi WWW content generating script or program
|
|
|
|
|
.cls LaTeX Class definition
|
|
|
|
|
.class Java compiled byte-code
|
|
|
|
|
.conf configuration file
|
|
|
|
|
.config configuration file
|
|
|
|
|
.cpp equivalent to \fI.cc\fR
|
|
|
|
|
.csh \fBcsh\fP(1) shell script
|
|
|
|
|
.cxx equivalent to \fI.cc\fR
|
|
|
|
|
.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
|
|
|
|
|
\fBmunpack\fP(1)
|
|
|
|
|
.diff file differences (\fBdiff\fP(1) command output)
|
|
|
|
|
.dir dbm data base directory file
|
|
|
|
|
.doc documentation file
|
|
|
|
|
.dsc Debian Source Control (source package)
|
|
|
|
|
.dtx LaTeX package source file
|
|
|
|
|
.dvi TeX's device independent output
|
|
|
|
|
.el Emacs-Lisp source
|
|
|
|
|
.elc compiled Emacs-Lisp source
|
|
|
|
|
.eps encapsulated PostScript
|
|
|
|
|
.exp Expect source code
|
|
|
|
|
.f Fortran source
|
|
|
|
|
.f77 Fortran 77 source
|
|
|
|
|
.f90 Fortran 90 source
|
2010-01-16 17:41:29 +00:00
|
|
|
|
.fas precompiled Common-Lisp
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.fi Fortran include files
|
|
|
|
|
.fig FIG image file (used by \fBxfig\fP(1))
|
|
|
|
|
.fmt TeX format file
|
|
|
|
|
.gif Compuserve Graphics Image File format
|
|
|
|
|
.gmo GNU format message catalog
|
|
|
|
|
.gsf Ghostscript fonts
|
|
|
|
|
.gz file compressed using \fBgzip\fP(1)
|
|
|
|
|
.h C or C++ header files
|
|
|
|
|
.help help file
|
|
|
|
|
.hf equivalent to \fI.help\fP
|
|
|
|
|
.hlp equivalent to \fI.help\fP
|
|
|
|
|
.htm poor man's \fI.html\fP
|
|
|
|
|
.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
|
2005-06-24 14:17:21 +00:00
|
|
|
|
.info-[0-9]+ split info files
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.ins LaTeX package install file for docstrip
|
|
|
|
|
.itcl itcl source code;
|
|
|
|
|
itcl ([incr Tcl]) is an OO extension of tcl
|
|
|
|
|
.java a Java source file
|
|
|
|
|
.jpeg Joint Photographic Experts Group format
|
|
|
|
|
.jpg poor man's \fI.jpeg\fP
|
|
|
|
|
.kmap \fBlyx\fP(1) keymap
|
|
|
|
|
.l equivalent to \fI.lex\fP or \fI.lisp\fP
|
|
|
|
|
.lex \fBlex\fP(1) or \fBflex\fP(1) files
|
|
|
|
|
.lha lharc archive
|
|
|
|
|
.lib Common-Lisp library
|
|
|
|
|
.lisp Lisp source
|
|
|
|
|
.ln files for use with \fBlint\fP(1)
|
|
|
|
|
.log log file, in particular produced by TeX
|
|
|
|
|
.lsm Linux Software Map entry
|
|
|
|
|
.lsp Common-Lisp source
|
|
|
|
|
.lzh lharc archive
|
|
|
|
|
.m Objective-C source code
|
|
|
|
|
.m4 \fBm4\fP(1) source
|
|
|
|
|
.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
|
|
|
|
|
.mgp MagicPoint file
|
|
|
|
|
.mm sources for \fBgroff\fP(1) in mm - format
|
|
|
|
|
.mo Message catalog binary file
|
|
|
|
|
.mod Modula-2 source for implementation modules
|
|
|
|
|
.mov (quicktime) movie
|
|
|
|
|
.mp Metapost source
|
|
|
|
|
.mp2 MPEG Layer 2 (audio) file
|
|
|
|
|
.mp3 MPEG Layer 3 (audio) file
|
|
|
|
|
.mpeg movie file
|
|
|
|
|
.o object file
|
|
|
|
|
.old old or backup file
|
|
|
|
|
.orig backup (original) version of a file, from \fBpatch\fP(1)
|
|
|
|
|
.out output file, often executable program (a.out)
|
|
|
|
|
.p Pascal source
|
|
|
|
|
.pag dbm data base data file
|
|
|
|
|
.patch file differences for \fBpatch\fP(1)
|
|
|
|
|
.pbm portable bitmap format
|
|
|
|
|
.pcf X11 font files
|
|
|
|
|
.pdf Adobe Portable Data Format
|
|
|
|
|
(use Acrobat/\fBacroread\fP or \fBxpdf\fP)
|
|
|
|
|
.perl Perl source (see .ph, .pl and .pm)
|
|
|
|
|
.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
|
|
|
|
|
.php PHP program file
|
|
|
|
|
.php3 PHP3 program file
|
2007-06-08 11:56:22 +00:00
|
|
|
|
.pid File to store daemon PID (e.g., crond.pid)
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.pl TeX property list file or Perl library file
|
|
|
|
|
.pm Perl module
|
|
|
|
|
.png Portable Network Graphics file
|
|
|
|
|
.po Message catalog source
|
|
|
|
|
.pod \fBperldoc\fP(1) file
|
|
|
|
|
.ppm portable pixmap format
|
|
|
|
|
.pr bitmap source
|
|
|
|
|
.ps PostScript file
|
|
|
|
|
.py Python source
|
|
|
|
|
.pyc compiled python
|
|
|
|
|
.qt quicktime movie
|
|
|
|
|
.r RATFOR source (obsolete)
|
|
|
|
|
.rej patches that \fBpatch\fP(1) couldn't apply
|
2010-09-22 16:23:10 +00:00
|
|
|
|
.rpm RPM software package
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.rtf Rich Text Format file
|
|
|
|
|
.rules rules for something
|
|
|
|
|
.s assembler source
|
|
|
|
|
.sa stub libraries for a.out shared libraries
|
2005-06-24 14:17:21 +00:00
|
|
|
|
.sc \fBsc\fP(1) spreadsheet commands
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.scm Scheme source code
|
|
|
|
|
.sed sed source file
|
|
|
|
|
.sgml SGML source file
|
|
|
|
|
.sh \fBsh\fP(1) scripts
|
|
|
|
|
.shar archive created by the \fBshar\fP(1) utility
|
|
|
|
|
.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
|
|
|
|
|
.tar archive created by the \fBtar\fP(1) utility
|
|
|
|
|
.tar.Z tar(1) archive compressed with \fBcompress\fP(1)
|
|
|
|
|
.tar.bz2 tar(1) archive compressed with \fBbzip2\fP(1)
|
|
|
|
|
.tar.gz tar(1) archive compressed with \fBgzip\fP(1)
|
|
|
|
|
.taz tar(1) archive compressed with \fBcompress\fP(1)
|
|
|
|
|
.tcl tcl source code
|
|
|
|
|
.tex TeX or LaTeX source
|
|
|
|
|
.texi equivalent to \fI.texinfo\fP
|
|
|
|
|
.texinfo Texinfo documentation source
|
|
|
|
|
.text text file
|
|
|
|
|
.tfm TeX font metric file
|
|
|
|
|
.tgz tar archive compressed with \fBgzip\fP(1)
|
|
|
|
|
.tif poor man's \fI.tiff\fP
|
|
|
|
|
.tiff Tagged Image File Format
|
|
|
|
|
.tk tcl/tk script
|
|
|
|
|
.tmp temporary file
|
|
|
|
|
.tmpl template files
|
|
|
|
|
.txt equivalent to \fI.text\fP
|
|
|
|
|
.uu equivalent to \fI.uue\fP
|
|
|
|
|
.uue binary file encoded with \fBuuencode\fP(1)
|
|
|
|
|
.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
|
|
|
|
|
.wml Source file for Web Meta Language
|
|
|
|
|
.xbm X11 bitmap source
|
|
|
|
|
.xcf GIMP graphic
|
|
|
|
|
.xml eXtended Markup Language file
|
|
|
|
|
.xpm X11 pixmap source
|
|
|
|
|
.xs Perl xsub file produced by h2xs
|
2008-07-15 17:34:33 +00:00
|
|
|
|
.xsl XSL stylesheet
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.y \fByacc\fP(1) or \fBbison\fP(1) (parser generator) files
|
|
|
|
|
.z File compressed using \fBpack\fP(1) (or an old \fBgzip\fP(1))
|
|
|
|
|
.zip \fBzip\fP(1) archive
|
|
|
|
|
.zoo \fBzoo\fP(1) archive
|
|
|
|
|
~ Emacs or \fBpatch\fP(1) backup file
|
2007-06-08 11:56:22 +00:00
|
|
|
|
rc startup (`run control') file, e.g., \fI.newsrc\fP
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.TE
|
2006-08-04 12:39:17 +00:00
|
|
|
|
.SH "CONFORMING TO"
|
intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, getpriority.2, getuid.2, intro.2, ioctl.2, mincore.2, mknod.2, personality.2, ptrace.2, read.2, recv.2, select_tut.2, send.2, sendfile.2, shmctl.2, sigaction.2, signal.2, stat.2, times.2, truncate.2, umask.2, wait.2, MB_CUR_MAX.3, MB_LEN_MAX.3, argz_add.3, btowc.3, clearenv.3, clock.3, cmsg.3, end.3, endian.3, errno.3, exit.3, fgetwc.3, fgetws.3, fopen.3, fputwc.3, fputws.3, fseek.3, fwide.3, getfsent.3, getgrnam.3, gethostid.3, getipnodebyname.3, getmntent.3, getpwnam.3, getwchar.3, grantpt.3, iconv.3, iconv_close.3, iconv_open.3, insque.3, intro.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, malloc.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mkstemp.3, mktemp.3, nl_langinfo.3, openpty.3, posix_openpt.3, printf.3, ptsname.3, putwchar.3, qecvt.3, rcmd.3, readdir.3, rexec.3, rpc.3, setnetgrent.3, shm_open.3, sigpause.3, stdin.3, stpcpy.3, strftime.3, strptime.3, syslog.3, towctrans.3, towlower.3, towupper.3, ttyslot.3, ungetwc.3, unlocked_stdio.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console_ioctl.4, pts.4, elf.5, filesystems.5, hosts.5, proc.5, ttytype.5, boot.7, capabilities.7, credentials.7, epoll.7, glob.7, koi8-r.7, path_resolution.7, pty.7, signal.7, suffixes.7, time.7, unicode.7, unix.7, uri.7, utf-8.7: global fix: s/Unix/UNIX/
The man pages were rather inconsistent in the use of "Unix"
versus "UNIX". Let's go with the trademark usage.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 04:45:38 +00:00
|
|
|
|
General UNIX conventions.
|
2004-11-03 13:51:07 +00:00
|
|
|
|
.SH BUGS
|
|
|
|
|
This list is not exhaustive.
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
|
.BR file (1),
|
|
|
|
|
.BR make (1)
|