R0106-HP MSR Router Series Fundamentals Command Reference(V7)

136
<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.
# On an MSR4000, remove the 1.cfg file from the root directory of the storage medium on the standby
MPU (in slot 1):
Method 1
<Sysname> delete slot1#cfa0:/1.cfg
Delete slot1#cfa0:/1.cfg?[Y/N]:y
Deleting file slot1#cfa0:/1.cfg...Done.
Method 2
<Sysname> cd slot1#cfa0:/
<Sysname> delete 1.cfg
Delete slot1#cfa0:/1.cfg?[Y/N]:y
Deleting file slot1#cfa0:/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.
file-url: Displays a specific file or folder. The file-url argument can use the asterisk (*) as a wildcard. For
example, to display files with the .txt extension in the current directory, enter dir *.txt.
/all-filesystems: Displays files and folders in the root directory of all storage media on the device.
Usage guidelines
If no option is specified, the command displays all visible files and folders in the current directory.
The folder name of the recycle bin is .trash. To display files in the recycle bin, use either of the following
methods:
Execute the dir /all .trash command.
Execute the cd .trash command and then the dir command.
Examples
# On an MSR2000/MSR3000, display information about all files and folders in the current directory.