Type, Type ver – HP Unified Extensible Firmware Interface User Manual

Page 62

Advertising
background image

Syntax

touch

[-r] file [file...]

Options

-r

Makes the update recursive into subdirectories.

file

Specifies the name or pattern of the file or directory to be updated. Multiple files can be
updated at once.

Description

This command updates the time and date on the file specified by the file parameter to the current
time and date.

If multiple files are specified, the system continues processing. It processes the files one by one and
errors are ignored.

This command cannot change the time and date of read-only files and directories.

Example

To update the time and date on a file:

fs0:\> touch myfile.txt

type

Sends the contents of a file to the standard output device.

Syntax

type file

[file...]

Option

file

Specifies a file name to display.

Description

This command sends the contents of a file to the standard output device. If no options are used,
then the command attempts to detect the file type. If it fails, then UCS-2 is presumed.

Examples

To display a file in format:

fs0:\> type pause.nsh
#
# Example script for 'pause' command
#
echo pause.nsh begin..
\date
time
pause
echo pause.nsh done.

To display multiple files:

fs0:\> type test.*
How to Install?
time
stall 3000000
time

ver

Displays version information for the UEFI Shell and the underlying UEFI firmware.

62

UEFI Shell command reference

Advertising
This manual is related to the following products: