nPartition Administrator's Guide, Second Edition

Table 4-3 EFI Shell Command Reference (continued)
DescriptionCommand
Update/view the current directory.
cd
Compare the contents of two files.
comp
Copy one or more files/directories to another location.
cp
Edit an ASCII or UNICODE file in full screen.
edit
Compress infile and write to outfile.
eficompress
Decompress infile and write to outfile.
efidecompress
Edit a file, block device, or memory region using hex.
hexedit
Display a list of files and subdirectories in a directory.
ls
Create one or more directories.
mkdir
Mount a filesystem on a block device.
mount
Delete one or more files/directories.
rm
Set the size of a file.
setsize
Update time of file/directory with current time.
touch
Display the contents of a file.
type
Display volume information of the file system.
vol
Memory Commands EFI Shell Commands for listing and managing memory, EFI variables, and NVRAM details.
Set the default NVRAM values.
default
Dump memory or memory mapped IO.
dmem
Display all EFI variables.
dmpstore
Display the memory map.
memmap
Display/modify MEM/IO/PCI.
mm
View/clear nPartition or cell memory page deallocation table (PDT).
pdt
Shell Navigation and Other Commands EFI Shell Commands for basic EFI Shell navigation and customization.
Set/get alias settings.
alias
Clear the standard output with an optional background color.
cls
Exit EFI Shell environment.
exit
Display current monotonic counter value.
getmtc
Display help.
help or ?
Display the mode of the console output device.
mode
Set/Get environment variable.
set
Turn on/off extended character features.
xchar
Shell Script Commands / Programming Constructs EFI Shell EFI shell-script commands.
Echo message to stdout or toggle script echo.
echo
Script-only: Use with IF THEN.
else
Script-only: Delimiter for FOR loop construct.
endfor
Command Reference for EFI Shell Commands 83