hit counter script

Deleting Files; Displaying File Contents - 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

Deleting Files

Command or Action
Step 2
dir [filesystem:[//module/][directory]]
Example:
switch# dir bootflash
Step 3
copy [filesystem:[//module/][directory/] |
directory/]source-filename |
{filesystem:[//module/][directory/]] |
directory/}[target-filename]
Example:
switch# copy test old_tests/test1
Deleting Files
You can delete a file from a directory.
SUMMARY STEPS
1. (Optional) dir [filesystem:[//module/][directory]]
2. delete {filesystem:[//module/][directory/] | directory/}filename
DETAILED STEPS
Command or Action
Step 1
dir [filesystem:[//module/][directory]]
Example:
switch# dir bootflash
Step 2
delete {filesystem:[//module/][directory/] |
directory/}filename
Example:
switch# delete test old_tests/test1

Displaying File Contents

You can display the contents of a file.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
112
Using the Device File Systems, Directories, and Files
Purpose
(Optional)
Displays the contents of the current directory. The file system and
directory name are case sensitive.
Copies a file. The file system, module, and directory names are case
sensitive. The source-filename argument is alphanumeric, case
sensitive, and has a maximum of 64 characters. If the target-filename
argument is not specified, the filename defaults to the source-filename
argument value.
The copy command supports ftp, scp, sftp, tftp and http protocols.
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.
If you specify a directory, the delete command deletes
Caution
the entire directory and all its contents.
OL-30890-01

Advertisement

Table of Contents
loading

Table of Contents