Translations:Including a command within the wiki/6/en

From Alliance Doc
Jump to navigation Jump to search

Displaying the result of a command

You can display the result of a command (and only one) by adding the option result. For example,

{{Command
|df -h .
|result=
Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
/lustre2/home         516T  340T  150T  70% /home
}}

results in :

Question.png
[name@server ~]$ df -h .
Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
/lustre2/home         516T  340T  150T  70% /home