O'Reilly logo

Harnessing the UEFI Shell by Tim Lewis, Vincent Zimmer, Michael Rothman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required