Difference between revisions of "Template:RootCmdOutput"

From Manjaro
Jump to navigation Jump to search
(Created RootCmdOutput template (based on CommandOutputTemplate))
 
m
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<nowiki>{{RootCmdOutput|command=lsblk|result=result}}</nowiki>
 
<nowiki>{{RootCmdOutput|command=lsblk|result=result}}</nowiki>
 
{{CommandOutputTemplate|color=red|prompt=#|command=lsblk|result=result}}
 
{{CommandOutputTemplate|color=red|prompt=#|command=lsblk|result=result}}
</noinclude><includeonly>{{CommandOutputTemplate|color=red|prompt=#|command=command|result=result}}</includeonly>
+
</noinclude><includeonly>{{CommandOutputTemplate|color=red|prompt=#|command={{{command}}}|result=<pre>{{{result}}}</pre>}}</includeonly>

Latest revision as of 06:06, 16 March 2021

{{RootCmdOutput|command=lsblk|result=result}}

# lsblk
result