1-5
View
User view
Parameters
/all
: Specifies to display the information about all the files, including those stored in the recycle bin.
/fabric
: Specifies to display the information about all the specified files in the fabric.
file
-
url
: Path name or the name of a file in the Flash memory. You can use the * character as a wildcard.
For example, the
dir
*.txt command displays the information about all the files with the extension of .txt
in the current directory.
Description
Use the
dir
command to display the information about the specified files or directories in the Flash
memory on a switch.
z
If executed with the
/all
keyword, the command will display information about all files, including the
files in the recycle bin. If executed without the
/all
keyword, the command will not display the files in
the recycle bin.
z
If executed with the /
fabric
keyword, the command will display information about files and folders in
the root directory of all the devices in the fabric. If executed without the /
fabric
keyword, the
command will display information about files and folders in the root directory of the current device.
z
If executed with the
file
-
url
argument, the command will display information about files and folders
in the specified directory. If executed without the
file
-
url
argument, the command will display
information about files and folders in the current working directory.
In the output information, files with the main, backup or main/backup attribute are tagged with special
characters:
z
main: (*)
z
backup: (b)
z
main/backup: (*b)
In the output information of the
dir /all
command, deleted files (that is, those in the recycle bin) are
embraced in brackets. The displayed directory of a deleted file is the directory to which the file belongs
before it is deleted.
Examples
# Display information about all the ordinary files in the root directory of the file system on the local unit.
<Sysname> dir
Directory of unit1>flash:/
1 (*) -rw- 5792495 Apr 02 2000 00:06:50 test1.bin
2 (*) -rw- 1965 Apr 01 2000 23:59:13 config.cfg
3 -rw- 41301 Apr 02 2000 21:42:13 test2.bin
4 -rw- 224 Apr 02 2000 01:36:30 test3.bin
5 -rw- 279296 Apr 02 2000 00:22:01 test.abc
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...