Vorlage:RootTerminal
Zur Navigation springen
Zur Suche springen
Verwendung
Beispiel #1
{{RootTerminal
|Pfad=/etc
|1=ls -l
|2=cat passwd
|3=systemctl status ssh
}}
Ausgabe #1
root@debian:/etc # ls -l
root@debian:/etc # cat passwd
root@debian:/etc # systemctl status ssh
root@debian:/etc # cat passwd
root@debian:/etc # systemctl status ssh
Beispiel #2
Quoting von Urls innerhalb von Befehlen ist erforderlich! Das geht so:
{{RootTerminal
|Pfad=/tmp
|1=wget <nowiki>https://example.com/file.iso</nowiki>
}}
Ausgabe #2
root@debian:/tmp # wget https://example.com/file.iso