Comp – HP Unified Extensible Firmware Interface User Manual
Page 24
![background image](/manuals/398358/24/background.png)
0
—Black
1
—Blue
2
—Green
3
—Cyan
4
—Red
5
—Magenta
6
—Yellow
7
—Light gray
Description
This command clears the standard output device with an optional background color attribute. If
color
is not specified, then the background color does not change.
Examples
To clear the standard output without changing the background color:
fs0:\> cls
To clear the standard output and change the background color to cyan:
fs0:\> cls 3
To clear the standard output and change the background to the default color:
fs0:\> cls 0
comp
Compares the contents of two files on a byte for byte basis.
Syntax
comp
[-b] file1 file2
Options
-b
Displays one screen at a time.
file1
Specifies the first file name. Directory names or wild cards are not permitted.
file2
Specifies the second file name. Directory names or wild cards are not permitted.
Description
This command compares the contents of two files in binary mode. It displays up to 10 differences
between the two files. For each difference, up to 32 bytes from the location where the difference
starts are dumped. The UEFI Shell exits immediately if the lengths of the compared files are different.
Examples
To compare two files with different lengths:
fs0:\> comp bios.inf legacy.inf
Compare fs0:\bios.inf to fs0:\legacy.inf
Difference #1: File sizes mismatch
[difference(s) encountered]
To compare two files with the same contents:
fs0:\> comp bios.inf rafter.inf
Compare fs0:\bios.inf to fs0:\rafter.inf
[no difference encountered]
To compare two files with the same length but different contents:
24
UEFI Shell command reference