5-4
<Sysname> cd slot2#flash:/
<Sysname> delete tt.cfg
Delete slot2#flash:/tt.cfg?[Y/N]:y
%Delete file slot2#flash:/tt.cfg...Done.
dir
Syntax
dir
[ /
all
] [
file
-
url
]
View
User view
Default Level
3: Manage level
Parameters
/all
: Displays all files (including those in the recycle bin).
file
-
url
: Name of the file or directory to be displayed. Asterisks (*) are acceptable as wildcards. For
example, to display files with the
.txt
extension under the current directory, you may use the
dir *
.txt
command.
Description
Use the
dir
command to display information about all visible files and folders in the current directory.
Use the
dir /all
command to display information about all files and folders in the current directory,
including hidden files, hidden sub-folders and the files in the recycle bin that originally belong to the
current directory. The names of these deleted files are enclosed in pairs of brackets [ ].
The
dir
file
-
url
command displays information about a file or folder.
Examples
# Display information about all files and folders in the storage medium of the master after logging in to
the device.
<Sysname> dir /all
Directory of flash:/
0 -rwh 4 Apr 26 2008 12:02:05 snmpboots
1 -rw- 10187730 Apr 26 2008 16:47:07 startup.bin
2 -rwh 3144 Apr 26 2008 13:45:35 private-data.txt
3 -rw- 2161 Apr 26 2008 13:53:25 startup.cfg
4 -rw- 10058752 Sep 19 2008 17:41:46 startup_b58.bin
5 -rw- 10139143 Apr 26 2008 13:08:20 startup_wenxiangchong.bin
6 -rwh 716 Apr 26 2008 12:01:58 hostkey
7 -rwh 572 Apr 26 2008 12:02:11 serverkey
8 -rwh 548 Apr 26 2008 12:02:17 dsakey
9 -rw- 3035 Apr 26 2008 13:45:42 new-config.cfg
10 -rw- 2200 Apr 26 2008 14:58:35 [aa.cfg]
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...