G Commands
This chapter describes the basic Cisco NX-OS system commands that begin with G.
gunzip
To uncompress a compressed file, use the gunzip command.
gunzip [ filesystem :] [// server /] [ directory ] filename
Syntax Description
Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The compressed filename must have the.gz extension.
The Cisco NX-OS software uses Lempel-Ziv 1977 (LZ77) coding for compression.
Examples
This example shows how to uncompress a compressed file:
Related Commands
|
|
---|---|
gzip
To compress a file, use the gzip command.
gzip [ filesystem :] [// server /] [ directory ] filename
Syntax Description
Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
After you run this command, the named file is replaced with a compressed file that has the.gz extension added to its filename.
The Cisco NX-OS software uses Lempel-Ziv 1977 (LZ77) coding for compression.
Examples
This example shows how to compress a file:
Related Commands
|
|
---|---|