984 CHAPTER 79: FILE SYSTEM MANAGEMENT CONFIGURATION
■ alert: where the system warns you about operations that may bring
undesirable consequence such as file corruption or data loss.
■ quiet: where the system does not do that in any cases.
To prevent undesirable consequence resulted from misoperations, the alert mode
is preferred.
File System Operations
Example
# Display the files and the subdirectory under 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
14605 KB total (6890 KB free)
# Create a new folder called mytest under 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 subdirectory under the test directory.
<Sysname> dir
Directory of flash:/test/
0 drw- - Feb 16 2006 15:28:14 mytest
2540 KB total (2519 KB free)
# Return to the upper directory.
<Sysname> cd ..
# Display the current working directory.
<Sysname> pwd
flash:/
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.