Dblk – HP Unified Extensible Firmware Interface User Manual
Page 27
![background image](/manuals/398358/27/background.png)
Description
This command displays or sets the current date for the system. If no parameters are used, it shows
the current date. If a valid month, day, and year are provided, then the system's date is updated.
Rules are:
•
Except for numeric characters and /, all other characters in the argument are invalid. The
Shell reports an error if the number is in the wrong month/date/year range.
•
A space before or after the numeric character is not allowed. Inserting a space into the number
is invalid.
•
The year range is greater than or equal to 1998. Two numeric characters indicate the year.
Numbers below 98 are regarded as 20xx, and numbers equal to or above 98 are regarded
as 19xx. 00 means 2000. For example:
Shell> date 8/4/97
Shell> date
8/04/2097
Shell>
Shell> date dblk8/4/98
Shell> date
08/04/1998
Shell>
The range of valid years is 1998–2099.
Examples
To display the current date in the system:
fs0:\> date
06/18/2001
To set the date with a long year format and display it:
fs0:\> date 01/01/2050
fs0:\> date
01/01/2050
To set the date with a short year format and display it:
fs0:\> date 06/18/01
fs0:\> date
06/18/2001
dblk
Displays one or more blocks from a block device.
Syntax
dblk
[lba] [blocks] [-b]
Options
-b
Display one screen at a time.
device
Block device name.
lba
Index of the first block to be displayed (a hexadecimal number).
blocks
Number of blocks to be displayed (a hexadecimal number). The default is 1. If larger
than 0x10, then only 0x10 are displayed.
Examples
To display one block of blk0, beginning from block 0:
fs0:\> dblk blk0
To display one block of fs0, beginning from block 0x2:
UEFI Shell commands
27