EFI Instructions

Basic Instructions for Using the Extensible Firmware Interface (EFI) Appendix A: EFI Commands
Appendix A: EFI Commands
This appendix lists the EFI commands. A document covering full syntax, variables, wildcards,
redirection, error handling, etc., is available at
http://www.intel.com/software/products/college/efishell/images/efi_shell_cmnd_1_1.pdf.
Command Description
alias Displays, creates, or deletes aliases
(can alias commands, drives, and executables)
attrib [+|-][a|s|h|r] file
directory
Displays or changes the attributes of files or directories
bcfg Displays/modifies the driver/boot configuration
break Executes a debugger break point
cd Changes the directory
cls Clears the screen and can change background color
comp file1 file2 Compares the contents of two files up to a maximum of 10
differences
connect Binds an EFI driver to a device and starts the driver
cp [-r][-q] src file [dst] Copies one or more files/directories to another location
-r – Copies all recursively
date Displays the current date or sets the date in the system
dblk Displays the contents of blocks from a block device
devices Displays the list of devices being managed by EFI drivers
devtree Displays the tree of devices that follow the EFI Driver Model
dh Displays the handles in the EFI environment
disconnect Disconnects one or more drivers from a device
dmem Displays the contents of memory
dmpstore Displays all NVRAM variables
drivers Displays the list of drivers that follow the EFI Driver Model
drvcfg Invokes the Driver Configuration Protocol
drvdiag Invokes the Driver Diagnostics Protocol
echo Displays messages or turns command echoing on or off
edit Edits an ASCII or UNICODE file in full screen
EfiCompress Compresses a file
EfiDecompress Decompresses a file
err Displays or changes the error level
exit Exits the EFI Shell
getmtc Displays the current monotonic counter value
goto Makes batch file execution jump to another location
guid Displays all the GUIDs in the EFI environment
help [-b] Displays commands list or verbose help of a command.
–b – Displays one page at a time
hexedit Edits with hex mode in full screen
load Loads EFI drivers (e.g., Load ipmi.efi)
LoadBmp –w(seconds) Displays a Bitmap file onto the screen
LoadPciRom Loads a PCI Option ROM image from a file
ls [-b|-r|-a] Display a list of files
Revision 2.0
7