<!ELEMENT execute (param*)> <!ATTLIST execute base CDATA #IMPLIED command CDATA #REQUIRED> |
This element occurs in the elements alfs, else, stage. and then
See also : param.
The element execute is used to execute an arbitrary command.
The attribute base allows to specify the directory in which the command will be executed;
The attribute command contains the text of the command itself.
The subelements param contain parameters of the command.
The first example is an execute command without parameter.
<execute command="umount" /> |
The equivalent bash script is :
echo Executing 'umount' umount |
The second example is an execute command without one parameter.
<execute command="mount"> <param>/mnfs/lfs</param> </execute> |
The equivalent bash script is :
echo Executing 'mount' mount /mnfs/lfs |