Users Guide

dir
Displays the files in a file system. The default is the current directory.
Syntax
dir [filename | directory name:]
Parameters
filename | directory
name:
(OPTIONAL) Enter one of the following:
For a file or directory on the internal Flash, enter flash:// then the filename or
directory name.
For a file or directory on an external USB drive, enter usbflash:// then the
filename or directory name.
Command Modes EXEC Privilege
Supported Modes All Modes
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.4(0.0) Supported on the FN I/O Aggregator.
8.3.17.0 Supported on the M I/O Aggregator.
Example
Dell#dir
Directory of flash:
1 drwx 4096 Jan 01 1980 00:00:00 +00:00 .
2 drwx 2048 Mar 06 2010 00:36:21 +00:00 ..
3 drwx 4096 Feb 25 2010 23:32:50 +00:00 TRACE_LOG_DIR
4 drwx 4096 Feb 25 2010 23:32:50 +00:00 CORE_DUMP_DIR
5 d--- 4096 Feb 25 2010 23:32:50 +00:00 ADMIN_DIR
6 -rwx 720969768 Mar 05 2010 03:25:40 +00:00 6gb
7 -rwx 4260 Mar 03 2010 22:04:50 +00:00 prem-23-5-12
8 -rwx 31969685 Mar 05 2010 17:56:26 +00:00
DellS-XL-8-3-16-148.bin
9 -rwx 3951 Mar 06 2010 00:36:18 +00:00 startup-config
flash: 2143281152 bytes total (1389801472 bytes free)
Dell#
Related Commands cd — Changes the working directory.
format flash
Erase all existing files and reformat the filesystem in the internal flash memory. After the filesystem is formatted, files cannot be restored.
Syntax
format {flash: | usbflash:}
Defaults flash memory
Command Modes EXEC Privilege
Supported Modes All Modes
File Management 33