H3C S5120-EI Series Command Reference Manual page 92

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Parameters
/all: Displays all files.
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 in 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.
<Sysname> dir /all
Directory of flash:/
0
-rwh
1
-rw-
2
-rwh
3
-rw-
4
-rw-
5
-rw-
6
-rwh
7
-rwh
8
-rwh
9
-rw-
10
-rw-
15240 KB total (1801 KB free)
# Display information about all files and folders in the storage medium of a slave (with the member ID 2).
<Sysname> cd slot2#flash:/
<Sysname> dir /all
Directory of slot2#flash:/
0
-rwh
1
-rw-
2
-rw-
3
-rwh
4
-rwh
5
-rw-
6
-rwh
7
-rwh
8
-rw-
9
drw-
15240 KB total (1839 KB free)
4
Apr 26 2008 12:02:05
10187730
Apr 26 2008 16:47:07
3144
Apr 26 2008 13:45:35
2161
Apr 26 2008 13:53:25
52
Sep 19 2008 17:41:46
1143 Apr 26 2008 13:08:20
716
Apr 26 2008 12:01:58
572
Apr 26 2008 12:02:11
548
Apr 26 2008 12:02:17
3035
Apr 26 2008 13:45:42
2200
Apr 26 2008 14:58:35
3144
Apr 26 2008 13:45:28
2341
Apr 26 2008 16:36:18
124
Apr 26 2008 12:00:22
716
Apr 26 2008 14:31:36
4
Apr 26 2008 14:31:41
10187730
Apr 26 2008 12:01:10
572
Apr 26 2008 14:31:47
548
Apr 26 2008 14:31:52
3035
Apr 26 2008 13:45:36
-
Apr 26 2008 12:11:53
snmpboots
startup.bin
private-data.txt
startup.cfg
startup_b58.bin
startup_b58.bin
hostkey
serverkey
dsakey
new-config.cfg
[aa.cfg]
private-data.txt
startup.cfg
patchstate
hostkey
snmpboots
startup.bin
serverkey
dsakey
new-config.cfg
oldver
82

Advertisement

Table of Contents
loading

Table of Contents