Setting Prompt Modes; Example For File Operations - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents
To do...
Display data on the specified
physical page

Setting prompt modes

The system provides the following prompt modes:
alert—in this mode, the system warns you about operations that may bring undesirable
consequences such as file corruption or data loss.
quiet—in this mode, the system does not prompt confirmation for any operation.
To prevent problems, use the alert mode.
Follow these steps to set the operation prompt mode:
To do...
Enter system view
Set the operation prompt mode of
the file system

Example for file operations

# Display the files and the subdirectories in the current directory.
dir
Directory of flash:/
0
drw-
1
-rw-
2
drw-
3
-rw-
97920 KB total (2521 KB free)
# Create a new folder mytest in the test directory.
cd test
mkdir mytest
%Created dir flash:/test/mytest.
# Display the current working directory.
pwd
flash:/test
# Display the files and the subdirectories in the test directory.
dir
Directory of flash:/test/
Use the command...
display nandflash page-data
page-value [ | { begin | exclude |
include } regular-expression ]
Use the command...
system-view
file prompt { alert | quiet }
-
Feb 16 2006 11:45:36
1218
Feb 16 2006 11:46:19
-
Feb 16 2006 15:20:27
184108
Feb 16 2006 15:30:20
logfile
config.cfg
test
aaa.bin
105
Remarks
Remarks
Optional
The default is alert.

Hide quick links:

Table of Contents
loading

Table of Contents