2-14 System Operation
EFI Shell Commands
The following table lists and describes the shell commands in the EFI shell.
To execute an EFI shell command, enter the EFI shell command at the EFI shell
prompt and press Enter.
Table 2-1. EFI Shell Commands
Command Description
alias alias [-d|-v|-b] [sname] [value] Displays, creates, and deletes the alias
definition in the EFI Shell environment.
attrib attrib [+a|-a] [+s|-s] [+h|-h] [+r|-r]
[-b] [file ...] [directory ...]
Displays and changes the attributes of the
file/directory.
bcfg bcfg driver|boot [dump –v] [add
# file “desc”] [rm #] [mv # #]
Displays and changes the configuration of
the driver/boot.
break break Executes a debugger breakpoint.
cd cd [path] Displays and changes the current
directory.
child child Handle Displays the device tree under the handle.
cls cls [color] Clears the standard output.
comp comp file1 file2 Compares the contents of the two files.
connect connect [-r] Handle# |
DeviceHandle# DriverHandle#
Binds the driver to the device and starts
the driver.
cp cp [-r] src [src ...] [dst] Copies the file/directory.
date date [mm/dd[yy]yy] Displays and sets the date.
dblk dblk device [Lba] [blocks] Dumps the block device.
dh dh [-p prot_id] [-b] | [handle] Displays the handle in the EFI
environment.
disconnect disconnect DeviceHandle#
[DriverHandle# [ChildHandle#]]
| [-r]
Disconnects the device and the driver.
Dmem dmem [Address] [Size] [;MMIO] Dumps memory.
dmpstore dmpstore Displays the NVRAM variable.
echo echo [-on|-off]
echo [message]
Displays messages, or switches on/off
echo.
edit edit [file] Edits the ASCII/UNICODE file.
EfiCompress EfiCompress [InFile] [OutFile] Compresses the file.
EfiDecompress EfiDecompress [InFile] [OutFile] Decompresses the file.
err err [ErrorLevel] Displays and changes the error level.
exit exit Exit from the EFI Shell.
getmtc getmtc Displays the current counter value.
guid guid [-b] Displays the GUID in the EFI
environment.