Chapter 9 UEFI Shell Scripting

I honestly have no strategy whatsoever. I'm waiting for that script to pop through the letterbox and completely surprise me.

—Ben Kingsley

UEFI Shell scripts are interpreted programs (usually with the extension . nsh) written in a text-based language supported directly by the UEFI Shell. Similar to many shell scripts (most notably the Windows command prompt), it also includes features unique to the pre-OS environment, such as standardized command output and redirection to and from environment variables.

The UEFI Shell searches for shell scripts first in the current directory and then in the directories specified by the path environment variable. Shell scripts are carriagereturn delimited lists of shell commands ...

Get Harnessing the UEFI Shell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.