Dir - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

Delete flash:/tt.cfg?[Y/N]:y
.
%Delete file flash:/tt.cfg...Done.
# Remove file tt.cfg from the root directory of the storage medium on a standby MPU of the IRF fabric (the
member ID and slot number of the member switch where the standby MPU resides are both 1).
Approach 1
<Sysname> delete chassis1#slot1#flash:/tt.cfg
Delete chassis1#slot1#flash:/tt.cfg?[Y/N]:y
%Delete file chassis1#slot1#flash:/tt.cfg...Done.
Approach 2
<Sysname> cd chassis1#slot1#flash:/
<Sysname> delete tt.cfg
Delete chassis1#slot1#flash:/tt.cfg?[Y/N]:y
%Delete file chassis1#slot1#flash:/tt.cfg...Done.

dir

Syntax
dir [ /all ] [ file-url | /all-filesystems ]
View
User view
Default level
3: Manage level
Parameters
/all: Displays all files and folders in the current directory, including hidden files, hidden folders, files
moved from the current directory to the recycle bin. Files in the recycle bin are enclosed in square
brackets [ ].
file-url: Displays the specified file. 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.
/all-filesystems: Displays files and folders in the root directory of all storage media on the device.
Description
Use the dir command to display files or folders.
If no parameter is specified, the command displays all visible files and folders in the current directory.
Examples
In standalone mode
1.
# Display information about all files and folders in the storage medium of the active MPU. (The output
depends on your switch model.)
<Sysname> dir /all
Directory of flash:/
0
-rwh
1
-rwh
2
-rw-
716
Nov 19 2010 11:06:43
4744
Mar 31 2011 11:19:16
8198
Nov 19 2010 11:37:13
hostkey
private-data.txt
startup.cfg
81

Advertisement

Table of Contents
loading

Table of Contents