Cisco Cisco ASR 5700
Exec Mode Commands (D-S)
▀ directory
▄ Command Line Interface Reference, StarOS Release 17
4048
directory
Lists the files in a specified location.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
directory filepath [ -size ] [ -reverse ] [ -time ]
filepath
Specifies the directory path to list the contained files using the following format:
For the ASR 5000:
For the ASR 5000:
[ file: ]{ /flash | /pcmcia1 | /hd }[ /directory ]/file_name
Important:
Use of the ASR 5000 SMC hard drive is not supported in this release.
For the ASR 5500:
[ file: ]{ /flash | /usb1 | /hd }[ /directory ]/file_name
For VPC:
[ file: ]{ /flash | /hd-raid | /usb1 | /usb2 | cdrom1 }[ /directory
]/file_name
]/file_name
Important:
The USB ports and CD-ROM must be configured via the hypervisor to be accessible.
Important:
Do not use the following characters when entering a string for the field names below: “/” (forward
slash), “:” (colon) or “@” (at sign).
directory
is the directory name
filename
is the actual file of interest
-size
Indicates the size of each file should be displayed in the output.