Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found a nice wealth of information on some commands that I use in /usr/share/doc. Some are in a weird format though with tags such as:

  • \verbatim and \endverbatim
  • \section and \endsection

Any idea what format this is? E.g. of one of the files: /usr/share/doc/rpm-*/spec

share|improve this question
Maybe troff? – Zoredache Oct 13 '11 at 22:29
Almost all of the documents on my SL6.1 system are plain text. There are a few which seem to be in some sort of Markup language (lAtEx?). There are even a few in HTML, or PDFs! – Stefan Lasiewski Oct 13 '11 at 23:05
up vote 2 down vote accepted

It's a LaTeX file. The file(1) command is useful for determining a file's type, e.g.:

$ file /usr/share/doc/rpm-4.8.1/*                                                                                                        
/usr/share/doc/rpm-4.8.1/builddependencies: ASCII English text                                                                           
/usr/share/doc/rpm-4.8.1/buildroot:         LaTeX document text                                                                          
/usr/share/doc/rpm-4.8.1/ChangeLog.bz2:     bzip2 compressed data, block size = 900k                                                     
/usr/share/doc/rpm-4.8.1/conditionalbuilds: ASCII English text                                                                           
/usr/share/doc/rpm-4.8.1/COPYING:           ASCII English text                                                                           
/usr/share/doc/rpm-4.8.1/spec:              LaTeX document text                                                   
/usr/share/doc/rpm-4.8.1/triggers:          LaTeX document text                                                                          
/usr/share/doc/rpm-4.8.1/tsort:             LaTeX document text
share|improve this answer
Thanks! Any idea how to best view them? – Belmin Fernandez Oct 14 '11 at 12:29

It looks like LaTeX format

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.