Command Syntax - HP zx2000 Technical Reference Manual

Hp zx2000: reference guide
Table of Contents

Advertisement

System Configuration

command syntax

The EFI shell uses a programming language to control the execution of individual commands.
Some characters have special meanings in the EFI shell. This section includes instructions for
running EFI shell commands and a list of the available commands.
To run an individual command:
1. Type the command at the shell prompt.
For example, to clear the display on the monitor:
fs0:\> cls
2. Press
Enter
Arguments
Some commands require additional arguments to further define their action. For example, to
display information about the system memory, you must type the command name, plus the
desired category of information to display:
fs0:\> info mem
Rules
Follow these rules or the commands will not run correctly.
#
>
%
*
?
3–4
to execute the command.
Denotes a comment. All text after this symbol is ignored.
Denotes an output redirect. Output of EFI shell commands can be saved to
files instead of being displayed on the monitor or in the terminal emulation
program. The shell redirects standard output to a single file and standard error
to a single file. Redirecting both standard output and standard error to the
same file is allowed. Redirecting to more than one file on the same command
is not supported.
The output redirect options, include:
>
redirect output to a unicode file
>a
redirect output to an ASCII file
>>
append output to a unicode file
>>a
append output to an ASCII file
The syntax for redirecting script output is:
Command > output_file_pathname
Denotes an environment variable. Environment variables can be set and
viewed through the use of the set command (see
To access the value of an environment variable as an argument to a shell
command, delimit the name of the variable with the
after the variable name; for example,
Denotes a wildcard character. Matches zero or more characters in a file name.
Denotes a wildcard character. Matches exactly one character of a file name.
set
command in this chapter).
%
character before and
%myvariable%
.
technical reference guide

Advertisement

Table of Contents
loading

Table of Contents