Template:Cli

From wiki.emacinc.com
Revision as of 22:55, 13 November 2014 by Mdean (talk | contribs) (testing)
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}}}