Template:Command: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div class="command">{{#tag:syntaxhighlight|{{{prompt|[name@server $]}}} {{{1}}} {{{result|}}}|lang={{{lang|bash}}}}}</div></includeonly>
<includeonly> <div class="floatright"> [[File:Question.png|40px|link=https://explainshell.com/explain?cmd={{urlencode:{{{1}}} }}]] </div> <div class="command">{{#tag:syntaxhighlight|{{{prompt|[name@server ~]$}}} {{{1}}}{{{result|}}}|lang={{{lang|bash}}}}}</div></includeonly><noinclude>
 
<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>

Latest revision as of 14:56, 11 February 2019

Including a command within the wiki

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

Following text.