Rmdir; Sha256Sum - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

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.
Usage guidelines
The digest of a file can be used to verify file integrity.
Examples
# Use the SHA-256 algorithm to calculate the digest of file system.bin.
<Sysname> sha256sum system.bin
SHA256 digest:
0851e0139f2770e87d01ee8c2995ca9e59a8f5f4062e99af14b141b1a36ca152
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents