Name

command — The name of an executable program or other software command

Synopsis

command ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

Description

This element holds the name of an executable program or the text of a command that a user enters to execute a program.

A command is an integral part of the cmdsynopsis environment as well as being a common inline.

Processing expectations

Formatted inline.

See Also

constant, literal, replaceable, varname

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example command</title>

<para>In <acronym>UNIX</acronym>,
<command>ls</command> is used to get a directory listing.
</para>

</article>

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.