Template:Prompt

From VideoLAN Wiki
Revision as of 19:49, 6 March 2019 by DoesItReallyMatter (talk | contribs) (Template:$ and Template:% redirect here but Template:> and Template:# would not be possible)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$

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 called cmd.exe or cmd
  • bash: Bourne, Bash and Korn. Linux/Unix/macOS use bash as their default login shell
  • csh: C Shell
  • root: The root user as shown on a *nix system

Usage:

{{ prompt }}

Examples:

{{ prompt | cmd }}

>

{{ prompt | bash }}

$

{{ prompt | csh }}

%

{{ prompt | root }}

#