Template:Cli
The CLI Template
This template displays the passed argument, cmd
, at a simulated command line.
Use it like this:
{{cli | ls -la}}
Choose the PWD (Present Working Directory) like this:
{{cli | ls -la | pwd=/home/user}}
Choose the hostname like this:
{{cli | ls -la | hostname=desktop}}
Choose the username like this:
{{cli | ls -la | username=developer}}
root
@
som9x25
:
~
#
{{{1}}}