Dir - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Parameters
file-url: Specifies the name of the file to be deleted.
Examples
# Delete the tt.cfg file from the current directory.
<boot> delete flash:/tt.cfg
Delete flash:/tt.cfg? [Y/N]:y
Deleting the file permanently will take a long time. Please wait...
Start to delete flash:/tt.cfg...Done.

dir

Use dir to display files or directories.
Syntax
dir [ /all ] [ file-url ]
Views
User view
Parameters
/all: Displays both hidden and non-hidden files and subdirectories.
file-url: Specifies a file or directory.
Usage guidelines
Task
Display all non-hidden files and
subdirectories in the current directory.
Display all files and subdirectories in the
current directory.
Display all non-hidden files and
subdirectories in a directory.
Display all files and subdirectories in a
directory.
Display a file.
Examples
# Display information about all files and directories in the system.
<boot>dir /all
Directory of flash:
0
1
2
3
4
5
.bin
6
-rwh
20
Jan 01 2011 01:59:37
-rw-
104833
Jan 01 2011 05:46:24
drwh
-
Jan 01 2011 04:36:53
drw-
-
Jan 03 2011 03:33:27
-rw-
5341
Jan 01 2011 05:46:24
-rw-
11109376
Jan 03 2011 03:26:14
-rw-
3707
Jan 01 2011 01:26:51
Command
dir
dir /all
dir file-url
dir /all file-url
dir file-url
.snmpboots
startup.mdb
.trash
versionInfo
startup.cfg
s5820v2_5830v2-cmw710-boot-e2415
startup.cfg_bak
203
Remarks
N/A
N/A
Specify a directory for the
file-url argument.
Specify a directory for the
file-url argument.
Specify a file for the file-url
argument.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents