<!ELEMENT execute ((param | prefix)*)>
<!ATTLIST execute
base CDATA #IMPLIED
command CDATA #REQUIRED>
|
This element occurs in the elements : Element : <alfs> | Element: <stage>
See also : Element: <param> | Element: <prefix>
The element execute is one of the many main operation elements. It is used to execute an arbitrary command.
The sub-element param contains one or many optional parameters of the command.
The sub-element prefix contains any prefix data for the command to execute.
Both sub-elements are optional, but if used can be used more than once.
The attribute base allows you to specify the directory in which the command will be executed. See Element : <base>.
The attribute command contains the text of the command itself.
The first example is an execute command without a parameter.
<execute command="umount"> |
The equivalent bash script is :
echo Executing 'umount' umount |
The second example is an execute command with one parameter.
<execute command="mount">
<param>/mnfs/lfs</param>
</execute>
|
The equivalent bash script is :
echo Executing 'mount' mount /mnfs/lfs |