hp workstations zx6000, hp server rx2600 - operation and maintenance guide
System Configuration
Extensible Firmware Interface (EFI)
Chapter 3
109
Shell Script Commands and Control Structures
The EFI shell scripting language only has four commands and two control structures.
This section provides a description of these commands and control structure as well as
some simple examples.
Here is a list of the shell script commands:
•echo
• goto
• pause
• stall
Here is a list of the shell script control constructs:
• for/endfor
• if/endif
echo Command The echo command displays a message, or turns command echoing on
or off in batch files.
Syntax
echo [-on | -off]
echo [message]d
-on Displays when reading command lines from batch files.
-off Does not display when reading batch command lines.
-message Displays a message string.
Notes:
• echo -off means not to display command lines when reading from batch files.
• echo without a parameter shows the current echo setting.
Examples:
• To display a message string of ‘Hello World,’ execute this command at the shell
prompt:
fs0:\> echo Hello World
result:
Hello World
• To turn command echoing off, execute this command at the shell prompt:
fs0:\> echo -off