
3–4
technical reference guide
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
to execute the command.
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.
#
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
set
command in this chapter).
To access the value of an environment variable as an argument to a shell
command, delimit the name of the variable with the
%
character before and
after the variable name; for example,
%myvariable%
.
*
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.
Содержание ZX2000
Страница 4: ......
Страница 8: ...viii technical reference guide Contents ...
Страница 84: ...3 32 technical reference guide System Configuration ...
Страница 120: ...B 8 technical reference guide System Board ...
Страница 136: ...Index 4 technical reference guide Index ...