Using Command Substitution

Command Substitution can be quite useful when used effectively. The "+|" and "|" are the command substitution operators which are always used in a pair. "+|" marks the beginning and "|" marks the end of command substitution within a command line. The "+<" and "<" operators can be used to perform command substitution using files.

This tutorial demonstrates a simple example of command substitution. Just copy and paste the following command and press enter.

echohtml <br/>Today's date is <b>+|date +%D|</b> (mm/dd/yy).<br/><br/>

The above command displays the output as shown in image below.

Command Substitution - FireCMD

Note: Here date is a UNIX command.