116
# In IRF mode, permanently delete file
1.cfg
from the global active MPU's flash root directory.
<Sysname> delete /unreserved 1.cfg
The file cannot be restored. Delete flash:/1.cfg?[Y/N]:y
Deleting the file permanently will take a long time. Please wait...
# In IRF mode, remove file
1.cfg
from the flash root directory of the global standby MPU that resides in slot
16 of member device 1:
•
Method 1
<Sysname> delete chassis1#slot16#flash:/1.cfg
Delete chassis1#slot16#flash:/1.cfg?[Y/N]:y
Deleting file chassis1#slot16#flash:/1.cfg...Done.
•
Method 2
<Sysname> cd chassis1#slot16#flash:/
<Sysname> delete 1.cfg
Delete chassis1#slot16#flash:/1.cfg?[Y/N]:y
Deleting file chassis1#slot16#flash:/1.cfg...Done.
Related commands
•
reset recycle-bin
•
undelete
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.