Example For File Operations - HP A7500 Series Configuration Manual

Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

alert: The system warns you about operations that may cause problems such as file corruption and
data loss. To prevent incorrect operations, the alert mode is preferred.
quiet: The system does not prompt confirmation for any operation.
Follow these steps to set a 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.
<Sysname> dir
Directory of flash:/
0
-rw-
1
-rw-
2
-rw-
3
-rw-
4
-rw-
5
-rw-
64389 KB total (12521 KB free)
# Create 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/
0
drw-
64389 KB total (12519 KB free)
# Return to the upper directory.
<Sysname> cd ..
# Display the current working directory.
<Sysname> pwd
flash:
Use the command...
system-view
file prompt { alert | quiet }
16975828
Mar 22 2011 11:34:07
7380
Mar 25 2011 10:47:36
228
Mar 25 2011 10:50:39
3921
Apr 01 2011 17:56:30
15686396
Apr 01 2011 15:24:20
151
Apr 01 2011 17:56:24
-
Apr 01 2011 18:56:24
main.app
patch-package.app
patchstate
startup.cfg
startup.app
system.xml
mytest
101
Remarks
Optional
The default is alert.

Advertisement

Table of Contents
loading

Table of Contents