Displaying command help, Displaying all command help, Displaying help for a specific command – HP Unified Extensible Firmware Interface User Manual

Page 17

Advertising
background image

Example 6 Using -q to suppress the confirmation prompt

fs0:\> rm -q test\temp*
removing fs0:\test\temp1\temp1.txt
- [ok]
removing fs0:\test\temp1\boot\nshell.efi
- [ok]
removing fs0:\test\temp1\boot
- [ok]
removing fs0:\test\temp1
- [ok]
removing fs0:\test\temp2\temp2.txt
- [ok]
removing fs0:\test\temp2
- [ok]

Displaying command help

There are a variety of command options to display detailed and summarized help for one or more
commands.

Displaying all command help

Example 7 (page 17)

shows how to display help for all commands one screen at a time:

Example 7 Displaying all command help

Shell> help –b
alias - Displays, creates, or deletes UEFI Shell aliases.
attrib - Displays or changes the attributes of files or directories.
cd - Displays or changes the current directory.
cls - Clears standard output and optionally changes background color.
comp - Compares the contents of two files on a byte for byte basis.
cp - Copies one or more files or directories to another location.
date - Displays and sets the current date for the system.
devices - Displays the list of devices managed by UEFI drivers.
devtree - Displays the UEFI Driver Model compliant device tree.
dh - Displays the device handles in the UEFI environment.
dmem - Displays the contents of system or device memory.
drivers - Displays the UEFI driver list.
echo - Controls script file command echoing or displays a message.
edit - Full screen editor for ASCII or UCS-2 files.
eficompress - Compresses a file using UEFI Compression Algorithm.
efidecompress - Decompresses a file using UEFI Decompression Algorithm.
else - Identifies the code executed when 'if' is FALSE.
endfor - Ends a 'for' loop.
endif - Ends the block of a script controlled by an 'if' statement.
exit - Exits the UEFI Shell or the current script.
for - Starts a loop based on 'for' syntax.
fwupdate - Invokes an HP UEFI Shell utility used to update System BIOS firmware.
getmtc - Gets the MTC from BootServices and displays it.
Press ENTER to continue or 'Q' break:

Displaying help for a specific command

Use any of the following syntax options to display specific command help:

help commandname

? commandname

commandname -?

Example 8 (page 18)

shows one way to display help for the ls command (one screen at a time).

Getting started

17

Advertising
This manual is related to the following products: