本文主要记录EFI Shell相关的materials与常用的一些指令。

1. materials

Command Reference for EFI Shell Commands
Shell Command Reference Manual
Basic Instructions for Using the Extensible Firmware Interface
How to Access the EFI Shell to carry out Systems Diagnostics or Updates

2. 常用指令

EFI commands are very similar to common DOS and Linux commands. The most frequently
used commands include:

  • ls (or dir): Lists the directory contents.
  • cd: Changes the directory.
  • cp: Copies one or more files/directories to another location.
  • move: Moves one or more files/directories to the destination.
  • rm: Deletes one or more files or directories.
  • map: Displays, resets, or deletes mappings with the verbose option.
  • map –r: Commonly used to refresh mapped drives.
  • edit: Starts a basic text editor with on-screen function key help.
  • set: Displays (set), creates (set sname value), deletes (set –d), or changes EFI environment variables.
  • cls: Clears the screen and can also change the background color.
  • echo: Displays results on the screen.
  • help: Displays help information.
  • exit: Leaves the EFI shell and returns to the BIOS utility.
  • reset: Resets the system with a warm reboot or complete shutdown.
1
drivers –b

“-b” option for any UEFI command is a screen “pause” option so that you do not miss what you are trying to find because of it scrolling by.