S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
3-23
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 3 Configuring the Switch
Using Switch File Systems
Displaying the Current Directory
The
pwd
command displays the current directory location. This example changes the directory and
displays the current directory:
switch#
cd bootflash:
switch#
pwd
bootflash:
Listing the Files in a Directory
The
dir
command displays the contents of the current directory or the specified directory. The syntax
for this command is
dir
directory
or
dir
filename
.
This example shows how to list the files on the default volatile file system:
switch#
dir volatile:
Usage for volatile://sup-local
0 bytes used
20971520 bytes free
20971520 bytes total
Creating a Directory
The
mkdir
command creates a directory at the current directory level or at a specified directory level.
The syntax for this command is
mkdir
name
.
This example creates a directory called test in the bootflash directory.
switch#
mkdir bootflash:test
This example creates a directory called test in the current directory.
switch#
mkdir test
Deleting an Existing Directory
The
rmdir
command deletes an existing directory at the current directory level or at a specified directory
level. The directory must be empty to be deleted.
The syntax for this command is
rmdir
name
.
This example deletes the directory called test in the bootflash directory:
switch#
rmdir bootflash:test
This is a directory.
Do you want to continue (y/n)?
[y]
y
The
delete
command can also delete empty and nonempty directories. When you enter this command, a
warning is displayed to confirm your intention to delete the directory.
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...