Dir - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

<Sysname> delete 1.cfg
Delete cfa0:/1.cfg? [Y/N]:y
Deleting file cfa0:/1.cfg...Done.
# (Distributed devices in IRF mode.) Permanently delete file 1.cfg from the root directory of a file
system on the global active MPU.
<Sysname> delete /unreserved 1.cfg
The file cannot be restored. Delete cfa0:/1.cfg? [Y/N]:y
Deleting the file permanently will take a long time. Please wait...
Deleting file cfa0:/1.cfg...Done.
# (Distributed devices in IRF mode.) Remove file 1.cfg from the root directory of a file system on a
global standby MPU.
Method 1:
<Sysname> delete chassis1#slot1#cfa0:/1.cfg
Delete chassis1#slot1#cfa0:/1.cfg? [Y/N]:y
Deleting file chassis1#slot1#cfa0:/1.cfg...Done.
Method 2:
<Sysname> cd chassis1#slot1#cfa0:/
<Sysname> delete 1.cfg
Delete chassis1#slot1#cfa0:/1.cfg? [Y/N]:y
Deleting file chassis1#slot1#cfa0:/1.cfg...Done.
Related commands
reset recycle-bin
undelete

dir

Use dir to display files or directories.
Syntax
dir [ /all ] [ file | directory | /all-filesystems ]
Views
User view
Predefined user roles
network-admin
Parameters
/all: Displays all files and directories in the current directory, visible or hidden. If you do not specify
this option, only visible files and directories are displayed.
file: Displays a specific file. This argument can use the asterisk (*) as a wildcard. For example, to
display files with the .txt extension in the current directory, enter dir *.txt.
directory: Displays a specific directory.
/all-filesystems: Displays files and directories in the root directories of all file systems on the device.
Usage guidelines
If no option is specified, the command displays all visible files and directories in the current directory.
The directory name of the recycle bin is .trash. To display files in the recycle bin, use either of the
following methods:
158

Advertisement

Table of Contents
loading

Table of Contents