129
# Delete the
b.cfg
file from the recycle bin. (In this example there are two files in the recycle bin.)
<Sysname> reset recycle-bin
Clear flash:/a.cfg?[Y/N]:n
Clear flash:/b.cfg?[Y/N]:y
Clearing file flash:/b.cfg... Done.
Related commands
delete
rmdir
Use
rmdir
to remove a folder.
Syntax
rmdir
directory
Views
User view
Predefined user roles
network-admin
Parameters
directory
: Specifies a folder name.
Usage guidelines
To remove a directory, you must delete all files and subfolders in the directory permanently or move them
to the recycle bin. If you move them to the recycle bin, executing the
rmdir
command permanently deletes
them.
Examples
# Remove the
subtest
folder.
<Sysname>rmdir subtest/
Remove directory flash:/test/subtest and the files in the recycle-bin under this directory
will be deleted permanently. Continue?[Y/N]:y
Removing directory flash:/test/subtest... Done.
sha256sum
Use
sha256sum
to use the SHA-256 algorithm to calculate the digest of a file.
Syntax
sha256sum
file
-
url
Views
User view
Predefined user roles
network-admin
Parameters
file
-
url
: Specifies the name of a file.