Specifications

iv Version 2.0
2.3 EFI_SHELL_PARAMETERS_PROTOCOL .....................................................52
EFI_SHELL_PARAMETERS_PROTOCOL.....................................................52
3 UEFI Shell Features.........................................................................................55
3.1 Levels Of Support.................................................................................55
3.2 Invocation...........................................................................................56
3.3 Initialization ........................................................................................57
3.3.1 Finding startup.nsh..................................................................58
3.3.2 Supported Profiles...................................................................58
3.4 Command-Line ....................................................................................58
3.4.1 Special Characters...................................................................59
3.4.2 Escape Characters...................................................................59
3.4.3 Quoting .................................................................................59
3.4.4 Redirection.............................................................................60
3.5 Current Directory .................................................................................62
3.6 Variables.............................................................................................62
3.6.1 Environment Variables .............................................................63
3.6.2 Positional Parameters ..............................................................65
3.6.3 Index Parameters....................................................................65
3.6.4 Aliases...................................................................................65
3.7 File Names ..........................................................................................66
3.7.1 Wildcard Expansion .................................................................66
3.7.2 Mappings ...............................................................................67
3.7.3 Consistent File System Mapping ................................................67
3.8 Scripts................................................................................................67
3.9 Nesting the Shell..................................................................................68
3.10 Interactive Features..............................................................................68
3.10.1 Key History Support ................................................................68
3.10.2 Execution Interrupt Support......................................................68
3.10.3 Output Streaming Control.........................................................69
3.10.4 Scroll Back Buffer Support........................................................69
3.11 Shell Applications.................................................................................69
3.11.1 Installation.............................................................................69
3.11.2 Command-Line Help ................................................................70
4 Scripts ..........................................................................................................71
4.1 Comments ..........................................................................................71
4.2 Error Handling .....................................................................................71
4.3 Script Nesting......................................................................................72
4.4 Output and Echoing..............................................................................72
4.5 Limitations ..........................................................................................72
5 Shell Commands.............................................................................................73
5.1 Overview ............................................................................................73
5.1.1 Explanation of Command Description Layout...............................77
5.1.2 Shell Command-Line Options ....................................................77
5.2 Shell Command Profiles.........................................................................78
5.3 Shell Commands..................................................................................78
alias ............................................................................................78
attrib ............................................................................................81
bcfg ............................................................................................83
cd ............................................................................................86