Template:Cli

From wiki.emacinc.com
Revision as of 20:52, 12 November 2014 by Mdean (talk | contribs) (Improved with new variables.)
Jump to: navigation, search

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}}}