Use this template to show a shell box with a root command.
Add this code to the page text:
{{ShellRoot|a root command}}
Template:ShellRoot