HP UEFI Manual del usuario

Página 20

Advertising
background image

Ejemplo 9 Visualización de la ayuda de los comandos que empiezan con la letra a

Shell> help a*
Displays, creates, or deletes UEFI Shell aliases.

ALIAS [-d|-v] [alias-name] [command-name]m all files with extension '.inf':
fs0:\> attrib -r *.inf
-d - Delete an alias. command-name must not be specified.
-v - Make the alias volatile.
alias-name - Alias name
command-name - Original command's name or path.

NOTES:
1. This command displays, creates, or deletes aliases in the UEFI Shell
environment.
2. An alias provides a new name for an existing UEFI Shell
command or UEFI application. Once the alias is created, it can be used
to run the command or launch the UEFI application.
3. There are some aliases that are predefined in the UEFI Shell environment.
These aliases provide the MS-DOS and UNIX equivalent names for the file
manipulation commands.
4. Aliases will be retained even after exiting the shell unless the -v option
is specified. If -v is specified then the alias will not be valid after
leaving the shell.

EXAMPLES:
* To display all aliases in the UEFI Shell environment:
Shell> alias

* To create an alias in the UEFI Shell environment:
Shell> alias shutdown "reset -s"

* To delete an alias in the UEFI Shell environment:
Shell> alias -d shutdown

* To add a volatile alias in the current UEFI environment, which has a star *
at the line head. This volatile alias will disappear at next boot.
Shell> alias -v fs0 floppy

Displays or changes the attributes of files or directories.

ATTRIB [+a|-a] [+s|-s] [+h|-h] [+r|-r] [file...] [directory...]

+a|-a - Set or clear the 'archive' attribute
+s|-s - Set or clear the 'system' attribute
+h|-h - Set or clear the 'hidden' attribute
+r|-r - Set or clear the 'read-only' attribute
file - File name (wild cards are permitted)
directory - Directory name (wildcards are permitted)

NOTES:
1. Four attribute types are supported in the UEFI file system:
- Archive [A]
- System [S]
- Hidden [H]
- Read only [R]
2. If a file (in general meaning) is a directory, then it is also shown
to have the attribute [D].
3. If any file in the file list that is specified in the command line
does not exist, attrib will continue processing the remaining files
while reporting the error.
4. If no attributes parameters are specified, the current attributes of
the specified files or directories will be displayed.
5. If no files or directories are specified, then the command applies to
all files and sub-directories within the current directory.

EXAMPLES:
* To display the attributes of a directory:
Shell> :\> attrib fs0:\

* To display the attributes of all files and sub-directories in the current

20

Referencia de comandos de UEFI Shell

Advertising
Este manual se refiere a los siguientes productos: