Gzip; Md5Sum - HP 6125XLG Command Reference Manual

Blade
Table of Contents

Advertisement

3.
Verify the decompress operation.
<Sysname> dir system.*
Directory of flash:
1 -rw-
472972 KB total (472844 KB free)

gzip

Use gzip to compress a file.
Syntax
gzip filename
Views
User view
Predefined user roles
network-admin
Parameters
filename: Specifies the name of the file to be compressed. The compressed file will be saved to file
filename.gz.
Usage guidelines
This command deletes the specified file after compressing it.
Examples
# Compress the file system.bin.
1.
Before compressing the file, you can display files whose names start with system.
<Sysname> dir system.*
Directory of flash:
1 -rw-
472972 KB total (472844 KB free)
2.
Compress the file system.bin.
<Sysname> gzip system.bin
Compressing file flash:/system.bin... Done.
3.
Verify the compress operation.
<Sysname> dir system.*
Directory of flash:
1 -rw-
472972 KB total (472840 KB free)

md5sum

Use sha256sum to use the MD algorithm to calculate the digest of a file.
Syntax
md5sum file-url
0 May 30 2012 11:42:25
0 May 30 2012 11:42:24
20 Jun 14 2012 10:18:53
128
system.bin
system.bin
system.bin.gz

Advertisement

Table of Contents
loading

Table of Contents