S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
5-30
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco NX-OS Release 4.x
Chapter 5 D Commands
dir
dir
To display the contents of the current directory or the specified directory, use the
dir
command in EXEC
mode.
dir
[
bootflash:
module
|
directory-or-filename
|
debug:
directory-or-filename
|
log:
module
|
directory-or-filename
|
modflash:
module
|
directory-or-filename
|
slot0:
directory-or-filename
|
volatile:
module
|
directory-or-filename
]
Syntax Description
Defaults
The default file system is specified by the
cd
command.
Command Modes
EXEC mode.
Command History
Usage Guidelines
None.
Examples
The following example shows how to list the files on the bootflash directory:
switch#
dir bootflash:
40295206 Aug 05 15:23:51 1980 ilc1.bin
12456448 Jul 30 23:05:28 1980 kickstart-image1
12288 Jun 23 14:58:44 1980 lost+found/
27602159 Jul 30 23:05:16 1980 system-image1
12447232 Aug 05 15:08:30 1980 kickstart-image2
28364853 Aug 05 15:11:57 1980 system-image2
bootflash:
(Optional) Flash image that resides on the supervisor module.
debug:
(Optional) Provides information about the debug capture directory.
log:
(Optional) Provides information about the two default logfiles. The file
dmesg contains the kernel log-messages and the file messages contains the
system application log-messages.
modflash:
(Optional) Provides information about the flash image that resides in a
module flash file directory.
slot0:
(Optional) Flash image that resides on another module.
module
(Optional) Module name and number.
directory-or-filename
(Optional) Name of the file or directory to display on a specified device. The
files can be of any type. You can use wildcards in the filename. A wildcard
character (*) matches all patterns. Strings after a wildcard are ignored.
volatile:
Flash image on the volatile file system.
Release
Modification
1.2(1)
This command was introduced.
2.1(1a)
Added
debug
,
log
, and
modflash
keywords.