command
command — The name of an executable program or other software command.
Synopsis
command ::=
- Zero or more of:
- text
phrase
(db._phrase)replaceable
- Graphic inlines
- Ubiquitous inlines
Attributes
Description
This element holds the name of an executable program or the text of a command that a user enters to execute a program.
Processing expectations
Formatted inline.
Parents
These elements contain command
: caption
(db.html.caption), citetitle
, computeroutput
, emphasis
, entry
, link
, literallayout
, para
, phrase
(db.phrase), programlisting
, quote
, subtitle
, td
, term
, th
, title
, titleabbrev
, userinput
.
Children
The following elements occur in command
: text, inlinemediaobject
, phrase
(db._phrase), replaceable
, subscript
, superscript
.
See Also
Related elements: literal
, replaceable
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example command</title>
||
<para>In <acronym>UNIX</acronym>,
5 |<command>ls</command> is used to get a directory listing.
|</para>
||
</article>
In UNIX,
ls
is used to get a directory listing.