Dir - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

Do not use the delete command to delete files from the recycle bin. To delete files from the recycle bin, use
the reset recycle-bin command.
If you successively delete two files that have the same name from the same directory, the file deleted later
overwrites the file moved earlier to the recycle bin. If you delete two files that have the same name but
reside in different directories, both files are retained in the recycle bin.
Examples
# Remove the 1.cfg file from the root directory of the master's storage medium.
<Sysname> delete 1.cfg
Delete flash:/1.cfg?[Y/N]:y
Deleting file flash:/1.cfg...Done.
# Permanently delete file 2.cfg from the root directory of the master's storage medium.
<Sysname> delete /unreserved 2.cfg
The file cannot be restored. Delete flash:/2.cfg?[Y/N]:y
Deleting the file permanently will take a long time. Please wait...
Deleting file flash:/2.cfg...Done.
# Remove the 1.cfg file from the root directory of the storage medium on the subordinate member with the
member ID 2:
Method 1
<Sysname> delete slot2#flash:/1.cfg
Delete slot2#flash:/1.cfg?[Y/N]:y
Deleting file delete slot2#flash:/1.cfg...Done.
Method 2
<Sysname> cd slot2#flash:/
<Sysname> delete 1.cfg
Delete slot2#flash:/1.cfg?[Y/N]:y
Deleting file slot2#flash:/1.cfg...Done.
Related commands
undelete
reset recycle-bin

dir

Use dir to display files or folders.
Syntax
dir [ /all ] [ file-url | /all-filesystems ]
Views
User view
Predefined user roles
network-admin
Parameters
/all: Displays all files and folders in the current directory, visible or hidden. If you do not specify this
option, only visible files and folders are displayed.
110

Advertisement

Table of Contents
loading

Table of Contents