Edit, Eficompress, Edit eficompress – HP Unified Extensible Firmware Interface User Manual
Page 34
Examples
To display a message string of Hello World:
fs0:\> echo Hello World
Hello World
To turn command echoing on:
fs0:\> echo -on
To execute HelloWorld.nsh, and display when reading lines from the script file:
fs0:\> HelloWorld.nsh
+HelloWorld.nsh> echo Hello World
Hello World
To turn command echoing off:
fs0:\> echo -off
To display the current echo setting:
fs0:\> echo
Echo is off
edit
Edits an ASCII or UCS-2 file in full screen mode.
Syntax
edit
[file]
Options
file
Specifies the name of file to be edited. If none is specified, then an empty file is created
with a default file name.
Description
This command allows a file to be edited using a full screen editor. The editor supports both UCS-2
and ASCII file types.
Example
To edit the shell.log file:
fs0:\> edit shell.log
eficompress
Compresses a file using the EFI Compression Algorithm.
Syntax
eficompress infile outfile
Options
infile
Specifies the filename for the uncompressed input file
outfile
Specifies the filename for the compressed output file
Description
This command compresses a file using the EFI Compression Algorithm and then writes the
compressed form out to a new file.
Example
To compress a file named uncompressed to file named compressed:
34
UEFI Shell command reference