Hardware
319
EFI Shell Command
The list of Shell commands executable on EFI Shell and their functions are as follows. When
entering EFI shell command and pressing <Enter> key, Shell command is executed.
Command Description
alias
alias [-d|-v|-b] [sname] [value] Display/create/delete alias definition under
EFI Shell environment.
attrib
attrib [+a|-a] [+s|-s] [+h|-h] [+r|-r] [-b]
[file ...] [directory ...]
Display/change attribute of file/directory.
cd
cd [path] Display/change current directory.
cls
cls [color] Clear the standard output.
connect
connect [-r] handle# | deviceHandle#
driverHandle#
Bind EFI driver to device and start the
driver.
comp
comp file1 file2 Compare the contents of the two files.
config
config [-v] Display the settings of BIOS SETUP.
cp
cp [-r] src [src ...] [dst] Copy file/directory.
date
date [mm/dd[yy]yy] Display/set date.
dblk
dblk device [Lba] [blocks] Dump block device.
devices
devices [-b] [-l language] Display the list of devices managed by EFI
driver.
devtree
devtree [-b] [-l language] [-d]
[deviceHandle]
Display device tree.
dir
dir [-r] [-a[attrib]] [file] Display the list of file/directory.
disconnect
disconnect DeviceHandle#
[DriverHandle# [ChildHandle#]] | [-r]
Disconnect device and EFI driver.
dmem
dmem [Address] [Size] [;MMIO] Dump memory.
dmpstore
dmpstore [-b] [-d] [variable] Display NvRAM variable.
drivers
drivers [-l language] Display driver information list.
drvcfg
drvcfg [-l language] [-c] [-f <type>|-v|-s]
[driverHandle [deviceHandle
[childHandle]]]
Start EFI DriverConfigurationProtocol.
drvdiag
drvdiag [-c] [-l language] [-s|-e|-m]
[driverHandle [deviceHandle
[childHandle]]]
Start EFI DriverDiagnosticsProtocol.
echo
echo [-on | -off]
echo [message]
Display message or switch echo on/off.
edit
edit [file] Edit ASCII/UNICODE file.
err
err [ErrorLevel] Display/change error level.
exit
exit Close EFI Shell.
help
help [-b] | [cmd] Display help information.
load
load file [file ...] Load EFI driver.
ls
ls [-b] [-r] [-a [attrib]] [file] Display directory/file list.
map
map [-r|-v|-d] [sname] [handle] [-b] Display/define mapping information.