hit counter script

Displaying The Current Directory; Listing The Files In A Directory; Creating A Directory; Deleting An Existing Directory - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 3
Configuring the Switch
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
This command exchanges the current directory to the root directory on the bootflash: file system:
switch# cd bootflash:
This example changes the current directory to the mystorage directory that resides in the current
directory:
switch# cd mystorage

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

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 directory name.
This example creates a directory called test in the bootflash: directory.
switch# mkdir bootflash:test
This example creates a directory called test at the current directory level.
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 directory name.
This example deletes the directory called test in the bootflash directory:
OL-16597-01
Usage for volatile: filesystem
0 bytes total used
20971520 bytes free
20971520 bytes available
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Using Switch File Systems
3-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents