The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the basic Cisco NX-OS system commands that begin with G.
To uncompress a compressed file, use the gunzip command.
gunzip [ filesystem :] [// server /] [ directory ] filename
Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
|
|
---|---|
The compressed filename must have the.gz extension.
The Cisco NX-OS software uses Lempel-Ziv 1977 (LZ77) coding for compression.
This example shows how to uncompress a compressed file:
|
|
---|---|
To compress a file, use the gzip command.
gzip [ filesystem :] [// server /] [ directory ] filename
Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
|
|
---|---|
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.
This example shows how to compress a file:
|
|
---|---|