[Univ of Cambridge] [Dept of Engineering]

Filename suffices

In Unix the filename suffices don't necessarily identify the file type, but most people follow the conventions. Typing "file filename" may tell you the format of the file. Otherwise consult the following list of file types commonly used at CUED.

*.aux a file created by latex for its own internal purposes
*.bib, *.blg, *.bst BibTeX database file, log file and style file.
*.c C source code
*.C, *.cc C++ source code
*.dvi DeVice Independent file (result of processing a LaTeX file)
*.eps Encapsulated Postscript file
*.f Fortran 77 source code
*.fig xfig file
*.f90 Fortran 90 source code
*.gif GIF graphics file
*.gz Compressed file produced by "gzip"
*.html HyperText Markup Language file (for the WWW)
*.jpg, *.jpeg A jpeg image
*.log a log of a latex session, usually
*.m Matlab script.
*.o Object file (half way between source code and an executable program).
*.p Pascal source code
*.pdf Portable Document Format file
*.png Portable Network Graphics file, for use on Web pages, etc
*.prn A print file produced on a Windows machine. Filetype depends on driver used.
*.ps Postscript file
*.tar A file (which may contain many other files) produced by "tar"
*.tex A TeX or LaTeX source file
*.tgz A tar file compressed using "gzip"
*.tiff Tagged-Image File Format
*.Z Compressed file produced by "compress".
*.zip Compressed file produced by "zip".

Information on less common filename suffices is available from Wotsit's Format, the Common Internet File Formats page or from our list of rarer formats.

[Files] [Help]

Updated September 2000