Setting the file system operation mode, File and directory management examples – H3C Technologies H3C S12500 Series Switches User Manual
Page 106

94
Setting the file system operation mode
The device supports the following file system operation modes:
•
alert—The system prompts for confirmation when your operation might cause problems such as file
corruption and data loss. This mode provides an opportunity to cancel a disruptive operation.
•
quiet—The system does not prompt for confirmation.
To set the file system operation mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the file system operation
mode.
file prompt { alert | quiet }
Optional.
The default is alert.
File and directory management examples
# Display the files and the subdirectories in the current directory.
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
129794 KB total (112775 KB free)
# Create a new folder called mytest in the test directory.
%Created dir flash:/test/mytest.
# Display the current working directory.
flash:/test
# Display the files and the subdirectories in the test directory.
Directory of flash:/test/
0 drw- - Feb 16 2006 15:28:14 mytest
2540 KB total (2519 KB free)
# Return to the upper directory.
# Display the current working directory.
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches