Deleting Files; Displaying File Contents - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Deleting Files

Deleting Files
You can delete a file from a directory.
Procedure
Step 1
Step 2

Displaying File Contents

You can display the contents of a file.
Procedure
Step 1
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
104
Command or Action
{filesystem:[//module/][directory/] |
directory/}[target-filename]
Example:
switch# copy test old_tests/test1
Command or Action
dir [filesystem:[//module/][directory]]
Example:
switch# dir bootflash:
delete {filesystem:[//module/][directory/]
| directory/}filename
Example:
switch# delete
bootflash:old_config.cfg
Command or Action
show file [filesystem:[//module/]][directory/]filename
Example:
switch# show file bootflash:test-results
Using the Device File Systems, Directories, and Files
Purpose
of 64 characters. If the target-filename argument is not
specified, the filename defaults to the source-filename
argument value.
Purpose
(Optional)
Displays the contents of the current directory. The file
system and directory name are case sensitive.
Deletes a file. The file system, module, and directory
names are case sensitive. The source-filename argument
is case sensitive.
Caution
If you specify a directory, the delete
command deletes the entire directory and all
its contents.
Purpose
Displays the file contents.

Advertisement

Table of Contents
loading

Table of Contents