Template:RootCmd/Doc

From Peters wiki
Revision as of 18:53, 3 January 2012 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is for commands which must be run by the root user. For commands which can be entered by any user, use Template:Command.

Command output should not be included within this template. Use either Template:Codeline (for in-line output usage) or <pre> </pre> (for blocks of output).

Example: {{RootCmd|emerge --ask -uDNvt @world}}

Will produce:

root # emerge --ask -uDNvt @world


If your template comes out with {{{1}}} instead of the parameter value, see the FAQs page.

Note: This template is restricted in width to avoid issues with TOC templates.