Command Reference Guide
dir
Use the dir command to display a directory list of all files on the system or just those matching the
specified pattern, located in a specified location. Variations of this command include:
dir
dir <pattern>
dir cflash
dir cflash <pattern>
dir flash
dir flash <pattern>
dir ramdisk
dir ramdisk <pattern>
dir usbdrive0
dir usbdrive0 <pattern>
Syntax Description
<pattern>
cflash
flash
ramdisk
usbdrive0
Default Values
No default values are necessary for this command.
Command History
Release 10.1
Release 12.1
Release 17.7
Release 18.2
Usage Examples
The following is sample output from the dir flash command:
>enable
#dir flash
60000CRG0-35E
Optional. Displays all files that match the specified pattern. When a wildcard
(*) is specified, only files located in the specified location matching the listed
pattern are displayed. For example, *.biz displays all files with the .biz
extension.
When no wildcard is specified, the entire contents of flash memory is
displayed.
Optional. Displays files located on the installed CompactFlash
Optional. Displays files located on the system in flash memory.
Optional. Displays files located on the volatile RAM disk.
Optional. Displays files located on the Universal Serial Bus (USB) flash
drive memory.
Command was introduced.
Command was expanded to include CompactFlash.
Command was expanded to include the ramdisk parameter.
Command was expanded to include USB flash drive memory.
Copyright © 2012 ADTRAN, Inc.
Enable Mode Command Set
®
card.
380