R2511-HP MSR Router Series Fundamentals Configuration Guide(V5)
114
A file in the recycle bin occupies storage space. To release the occupied space, execute the reset
recycle-bin command in the directory that holds the file. To save storage space, periodically empty the
recycle bin with the reset recycle-bin command.
Perform the following tasks in user view:
Task Command
Delete a file by moving it to the recycle bin. delete file-url
Restore a file from the recycle bin. undelete file-url
Delete a file permanently. delete /unreserved file-url
Emptying the recycle bin
Ste
p
Command
Remarks
1. Enter the original working
directory of the file to be
deleted in user view.
cd { directory | .. | / }
Skip this step if the original
directory of the file is the current
working directory.
2. Empty the recycle bin.
reset recycle-bin [ /force ] N/A
Calculating the digest of a file
The digest of a file can be used to verify the file integrity. For example, you can calculate the digest of a
software image file and compare it with that provided on the website of the device vendor to verify
whether the file has been tampered with.
Perform this task in user view.
Task Command
Calculate the digest of a file. crypto-digest sha256 file-url
Managing directories
You can create or remove a directory, display or change the current working directory, and display a
specific directory.
Displaying directory information
Perform this task in user view.
Task Command
Display directory or file
information.
dir [ /all ] [ file-url | /all-filesystems ]
Displaying the current working directory
Perform this task in user view.










