Displaying File Contents; Displaying File Checksums - Cisco Nexus 5500 Series Configuration Manual

Nx-os fundamentals configuration guide, release 7.x
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Displaying File Contents

DETAILED STEPS
Command or Action
Step 1
pwd
Example:
switch# pwd
Step 2
dir [filesystem :[//module/][directory]]
Example:
switch# dir bootflash:test
Step 3
rmdir [filesystem :[//module/]]directory
Example:
switch# rmdir test
Displaying File Contents
This example shows how to display the contents of a file on an external flash device:
switch# show file slot0:test
configure terminal
interface ethernet 1/1
no shutdown
end
show interface ethernet 1/1
This example shows how to display the contents of a file that resides in the current directory:
switch# show file myfile

Displaying File Checksums

This example shows how to display the checksum of a file:
switch# show file bootflash:trunks2.cfg cksum
583547619
This example shows how to display the MD5 checksum of a file:
switch# show file bootflash:trunks2.cfg md5sum
3b94707198aabefcf46459de10c9281c
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
120
Using the Device File Systems, Directories, and Files
Purpose
(Optional)
Displays the name of your current default directory.
(Optional)
Displays the contents of the current directory. The file system,
module, and directory names are case sensitive.
If the directory is not empty, you must delete all the files before you
can delete the directory.
Deletes a directory. The file system and directory name are case
sensitive.
OL-30890-01

Advertisement

Table of Contents
loading

Table of Contents