<html></html>

A 'Command' box used to display command output.

This template accepts both named and unnamed parameters.

{{Command|name=command name|output=command output}}
{{Command|command=command name|output=command output}}
{{Command|command name|command output}}

An optional prompt argument can be used to specify an alternative prompt. The default prompt is $, indicating that the command should be run as an unprivileged user. To specify that a command should be run as root, use # as the prompt:

{{Command|privileged command name|privileged command output|prompt=#}}

This template can be used for any interactive shell. For example, an interactive Python session:

{{Command|import this|The Zen of Python, by Tim Peters|prompt=>>>}}

Note that parameters containing equals signs and wiki markup should be surrounded by <nowiki> tags, like so:

{{Command|command name|&lt;nowiki&gt;command output with [[wiki markup]] and '''such'''&lt;nowiki&gt;}}

Otherwise, the markup will be parsed by MediaWiki. (This may, in fact, be the desired result.)

{{Command|command name|command output with [[wiki markup]] and '''such'''}}

Long lines will automatically wrap.

{{Command|{{Lorem Ipsum}}|{{Lorem Ipsum}}}}

<html></html><html></html>