Template:Prompt: Difference between revisions
Jump to navigation
Jump to search
Create page, all my work. I got the idea from here |
Template:$ and Template:% redirect here but Template:> and Template:# would not be possible |
||
| Line 9: | Line 9: | ||
Links to [[Command-line interface]] like {{tl|%}} but more flexible. | Links to [[Command-line interface]] like {{tl|%}} but more flexible. | ||
<code>$</code> and <code>%</code> redirect here but technical restrictions forbid page names of <code>></code> and <code>#</code>. | |||
Different styles are available: | Different styles are available: | ||
Latest revision as of 19:49, 6 March 2019
Links to Command-line interface like {{%}} but more flexible.
$ and % redirect here but technical restrictions forbid page names of > and #.
Different styles are available:
cmd: Windows Command Prompt calledcmd.exeorcmdbash: Bourne, Bash and Korn. Linux/Unix/macOS use bash as their default login shellcsh: C Shellroot: The root user as shown on a *nix system
Usage:
{{ prompt }}
Examples:
{{ prompt | cmd }}
{{ prompt | bash }}
{{ prompt | csh }}
{{ prompt | root }}