Command Reference Guide

80dir 3Com Router 5000 Family and Router 6000 Family
Command Reference
dir
Purpose Use the dir command, you can view information about the specified file or directory
in the router storage device.
Syntax dir [ /all | filename ]
Parameters /all
Displays all files (including the deleted files).
filename
Name of the file or directory to be displayed including
the path.
Default By default, this command displays the file information under the current directory.
Example Display the files in Flash memory.
<3Com> dir flash:
Directory of flash:/
0 -rw- 5878540 Jul 05 2004 10:39:36 AR46XX-V3.30-0006.BIN
1 -rw- 670 Sep 15 2004 11:46:51 vrpcfg.cfg
2 -rw- 8271372 Aug 17 2004 14:04:15 ar46.bin
3 -rw- 8701964 Sep 22 2004 14:25:49 main.bin
4 -rw- 670 Sep 30 2004 10:49:15 ar46.cfg
31750 KB total (9427 KB free)
Display files in the CF card.
<3Com> dir cflash:
Directory of cflash:/
0 -rw- 5878540 Jul 05 2004 10:39:36 AR46XX-V3.30-0006.BIN
1 -rw- 670 Sep 15 2004 11:46:51 vrpcfg.cfg
2 -rw- 8271372 Aug 17 2004 14:04:15 ar46.bin
3 -rw- 8701964 Sep 22 2004 14:25:49 main.bin
4 -rw- 670 Sep 30 2004 10:49:15 ar46.cfg
31750 KB total (9427 KB free)
View This command can be used in the following views:
User view
Description Use the dir command, you can view information about the specified file or directory
in the router storage device.
This command accepts asterisks (*) as wildcards.