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