HP Unified Extensible Firmware Interface User Manual

Page 44

Advertising
background image

Description

This command is used to change the display mode for the console output device. When used
without any parameters, it shows the list of modes that the standard output device currently supports.
The command can then be used with the row and col parameter to change the number of rows
and columns on the standard output device.

NOTE:

The display is cleared every time the mode command is used to change the currently

selected display mode.

Examples

To display all available modes on standard output and the current selected mode (indicated by
an *):

Shell> mode
Available modes on standard output
col 80 row 25 *
col 80 row 50
col 80 row 43
col 100 row 100

To change the current mode setting to an 80 X 50 text mode display:

Shell> mode 80 50
Available modes on standard output
col 80 row 25
col 80 row 50 *
col 80 row 43
col 100 row 100

mv

Moves one or more files to a destination within a file system.

Syntax

mv src...

[dst]

Options

src...

Specifies a source file or directory name. Wild cards are permitted.

dst

Specifies a destination file or directory name Wild cards are permitted. If not specified,
the current working directory is assumed to be the destination. If there is more than one
argument in the command line, the last one is always considered the destination.

Description

This command moves one or more files to a destination within a file system. Moving between file
system volumes is not supported. If the destination is an existing directory, then the sources are
moved into that directory. Otherwise, the sources are moved to the destination as if the directory
has been renamed. If a destination is not specified, the current directory is assumed to be the
destination.

Attempting to move a read-only file or directory results in an error. Moving a directory that contains
read-only files is allowed. You cannot move a directory into itself or its subdirectories. You cannot
move a directory if the current working directory is itself or its subdirectories.

If an error occurs, the remaining files or directories are still moved.

Example

To rename a file:

44

UEFI Shell command reference

Advertising
This manual is related to the following products: