Template:RootCmdOutput

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

RootCmdOutput template

Template formatting a command entered as root including the resulting output

The result is often more than one line.

To format the result correctly use a set of <pre>result</pre> tags to ensure the result is displayed with multiple lines.

Syntax: {{RootCmdOutput|command=command|result=<pre>result</pre>}}

# lsblk

nvme0n1     259:0    0 476,9G  0 disk 
├─nvme0n1p1 259:1    0   300M  0 part /boot/efi
├─nvme0n1p2 259:2    0 467,8G  0 part /
└─nvme0n1p3 259:3    0   8,8G  0 part [SWAP]