
124
<Sysname> gzip system.bin
Compressing file flash:/system.bin... Done.
3.
Verify the compress operation.
<Sysname> dir system.*
Directory of flash:
1 -rw- 20 Jun 14 2012 10:18:53 system.bin.gz
472972 KB total (472840 KB free)
md5sum
Use
md5sum
to use the MD algorithm to calculate the digest of a file.
Syntax
md5sum
file
-
url
Views
User view
Predefined user roles
network-admin
network-operator
Parameters
file
-
url
: Specifies the name of a file.
Usage guidelines
The digest can be used to verify the integrity of the file.
Examples
# Use the MD5 algorithm to calculate the digest of file
system.bin
.
<Sysname> md5sum system.bin
MD5 digest:
4f22b6190d151a167105df61c35f0917
mkdir
Use
mkdir
to create a folder in the current directory.
Syntax
mkdir
directory
Views
User view
Predefined user roles
network-admin
Parameters
directory
: Specifies the name of a folder.
Usage guidelines
The name of the folder to be created must be unique in the specified directory.