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

From Alliance Doc
Jump to navigation Jump to search

Including a set of commands

You can use the {{Commands}} template to include a set of commands. You may then write each command on a separate line, and prepend the | character in front of each command. For example, the code

{{Commands
|cd src
|make
|make install
|cd ..
}}

results in:

[name@server ~]$ cd src
[name@server ~]$ make
[name@server ~]$ make install
[name@server ~]$ cd ..