HP UEFI Shell Quick Reference
Card for HP ProLiant Gen9
Servers
© Copyright 2014 Hewlett-Packard Development Company, L.P.
Documentation feedback
Send any errors, suggestions, or comments to Documentation Feedback
**
HP Part Number: 794197-001
Published: September 2014
Edition: 1
UEFI Shell commands
This Quick Reference Guide lists HP UEFI Shell
commands in alphabetical order. It includes a brief
description and syntax parameters for each command.
For more information, see the HP UEFI Shell User Guide
for HP ProLiant Gen9 Servers.
alias
Displays, creates, or deletes aliases in the UEFI Shell
environment.
alias [ -d | -v ] [alias-name] [command-name]
attrib
Displays or changes the attributes of files or directories.
attrib [ +a | -a ] [ +s | -s ] [ +h | -h ] [
+r | -r ] [file...] [directory...]
boot
Boots or displays UEFI boot options.
boot [-d]
cd
Displays or changes the current directory.
cd [path]
cls
Clears the standard output and optionally changes the
background color.
cls [color]
comp
Compares the contents of two files on a byte for byte
basis.
comp [-b] file1 file2
connect
Binds a driver to a specific device and starts the driver.
connect [[devicehandle] [driverhandle] |
[-c] | [-r] ]
cp
Copies one or more source files or directories to a
destination.
cp [-r] [-q] src src... [dst]
date
Displays and sets the current date for the system.
date [mm/dd/ { yy | yyyy }] [-sfo]
dblk
Displays one or more blocks from a block device.
dblk [lba] [blocks] [-b]
devices
Displays a list of devices managed by UEFI drivers.
devices [-b] [-lxxx] [-sfo]
devtree
Displays the tree of devices compliant with the UEFI
Driver Model.
devtree [-b] [-d] [-lxxx] [devicehandle]
dh
Displays the device handles in the UEFI environment.
dh [-lxxx] [ handle | -p prot_id ] [-d] [-b]
[-v] [-sfo]
disconnect
Disconnects one or more drivers from the specified
devices.
disconnect devicehandle [driverhandle
[childhandle]] [-r]
dmem
Displays the contents of system or device memory.
dmem [-b] [address] [size] [-MMIO]
drivers
Displays a list of information for drivers that follow the
UEFI Driver Model in the UEFI environment.
drivers [-lxxx] [-sfo]
echo
Controls whether or not script commands are displayed
as they are read from the script file, and prints the given
message to the display.
echo [ -on | -off ]
echo message
edit
Edits an ASCII or UCS-2 file in full screen mode.
edit [file]
eficompress
Compresses a file using the EFI Compression Algorithm.
eficompress infile outfile
efidecompress
Decompresses a file using the EFI Decompression
Algorithm.
efidecompress infile outfile
exit
Exits the UEFI Shell or the current script.
exit [/b] [exit-code]
fwupdate
Updates the system BIOS firmware.
fwupdate -l
fwupdate -d device [-i image] -f file
getmtc
Gets the MTC from BootServices and displays it.
getmtc
goto
Goes to a label in a script.
goto label
help
Displays the list of commands that are built into the UEFI
Shell.
help [ cmd | pattern | special ] [-usage]
[-v] [-section sectionname] [-b]
ifconfig
Modifies the default IP address of the UEFI IPv4 network
stack.
ifconfig [-c [name]] [-l[name]]
imlview
Displays the Integrated Management Log (IML).
imlview -export filename -sfo -b -c
load
Loads a UEFI driver into memory.
load [-nc] file [file...]
ls/dir
Lists the contents of a directory or file information.
ls [-r] [-a[attrib]] [-sfo] [file]
map
Displays or configures a mapping between a
user-defined name and a device handle.
map [-d mappedname]
map [ -r | -v | -c | -f | -u | -t type
[,type...] | mappedname ] [-sfo]
map [ mappedname | mapping ]
Page 1