hit counter script

Displaying A File's Contents; Displaying A File's Checksums; Compressing And Uncompressing A File - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Displaying a File's Contents

The file system name, directory name, and source-filename argument are case sensitive.
Note
To delete a file, run the following command:
delete {filesystem:[//module/][directory/] | directory/}filename
Example:
switch# delete test old_tests/test1
Displaying a File's Contents
To display a file's contents, run the following command:
show file [filesystem:[//module/]][directory/]filename
Example:
switch# show file bootflash:test-results

Displaying a File's Checksums

You can use checksums to verify a file's integrity.
To display the checksum or MD5 checksum of a file, run the following command:
show file [filesystem:[//module/]][directory/]filename {cksum | md5sum}
Example:
switch# show file bootflash:trunks2.cfg cksum

Compressing and Uncompressing a File

You can compress and uncompress the files on a device using Lempel-Ziv 77 (LZ77) coding.
The file system and directory names are case sensitive.
Note
• To compress a file, run the following command:
• To uncompress a file, run the following command:
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
106
gzip [filesystem:[//module/][directory/] | directory/]filename
Example:
switch# gzip show_tech
After a file is compressed, it has a .gz suffix.
Note
gunzip [filesystem:[//module/][directory/] | directory/]filename .gz
Using the Device File Systems, Directories, and Files
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents