58
C
HAPTER
2: S
YSTEM
M
AINTENANCE
& M
ANAGEMENT
C
OMMANDS
If the unreserved parameter is seleted in using the delete command, the target file
cannot be restored.
The dir command does not display the information of deleted files. However, by
using the dir /all command, the information of all files under the directory,
including deleted files, will be displayed.
Example
Delete the file flash:/test/test.txt.
<3Com> delete flash:/test/test.txt
Delete flash:/test/test.txt?[Y/N]
<3Com>
dir
Syntax
dir [ /all | /h ] [ filename ]
View
User view
Parameter
/all: Displays all files (including the deleted files).
/h: Displays the information about the private files. This parameter is unavailable if
there is no storage device on the router.
filename: Name of the file or directory displayed.
Description
Using the dir command, you can display the information about the specified file or
directory in the router storage device.
By default, this command displays the file information under the current directory.
This command supports "*" wildcard.
The dir /all command can be used to display the information about all the files,
including the deleted files. The names of the deleted files are denoted with "[]",
for instance, [temp.cfg]. Such deleted files can be restored via the undelete
command. The reset recycle-bin command can be used to delete the file from the
recycle bin permanently.
The dir /h command can be used to display the information about the private file
under the current path. The attribute of the private file is represented by “---h”.
Example
Display the information about the file flash:/test/test.txt.
<3Com> dir flash:
Directory of flash:
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...