Template:Command: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
(add "result" example)
Line 1: Line 1:
<includeonly><div class="command">{{#tag:syntaxhighlight|{{{prompt|[name@server $]}}} {{{1}}} {{{result|}}}|lang={{{lang|bash}}}}}</div></includeonly><noinclude>
<includeonly><div class="command">{{#tag:syntaxhighlight|{{{prompt|[name@server $]}}} {{{1}}} {{{result|}}}|lang={{{lang|bash}}}}}</div></includeonly><noinclude>
[[Including a command within the wiki]]
[[Including a command within the wiki]]
{{Command|git init}}  
{{Command|git init
|result=
Initialized empty Git repository in /home/mobaxterm/temp/.git/}}  
Following text.
Following text.
</noinclude>
</noinclude>

Revision as of 16:59, 19 December 2016

Including a command within the wiki

[name@server $] git init
 Initialized empty Git repository in /home/mobaxterm/temp/.git/

Following text.