<cmdname>

A command name is the name of a software command.

Specialization hierarchy

The <cmdname> element is specialized from <keyword>. It is defined in the software domain module.

Content model

(Text | <text> )*

Zero or more
  • Text
  • <text>

Attributes

The following attributes are available on this element: universal attributes and @keyref.

The following attributes are available on this element: universal attributes and the attributes defined below.

@keyref
Specifies a key name that acts as a redirectable reference based on a key definition within a map. See STUB CONTENT for information on using this attribute.

For HDITA, the equivalent of @keyref is @data-keyref

Example

This section is non-normative.

The following code sample shows a <cmdname> element that identifies the name of the rm command.

<p>You can use the <cmdname>rm</cmdname> command to permanently delete an object.</p>