C613-50066-01 REV A
Command Reference for IE200 Series Industrial Managed PoE+ Switches
125
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
F
ILE
M
ANAGEMENT
C
OMMANDS
DIR
dir
Overview
This command lists the files on a filesystem. If no directory or file is specified then
this command lists the files in the current working directory.
Syntax
dir [all] [recursive] [sort [reverse] [name|size|time]]
[<
filename
>|debug|flash|nvs|usb]
Mode
Privileged Exec
Examples
To list the files in the current working directory, use the command:
awplus#
dir
To list the non-hidden files in the root of the Flash filesystem, use the command:
awplus#
dir flash
To list all the files in the root of the Flash filesystem, use the command:
awplus#
dir all flash:
To list recursively the files in the Flash filesystem, use the command:
awplus#
dir recursive flash:
To list the files in alphabetical order, use the command:
awplus#
dir sort name
To list the files by size, smallest to largest, use the command:
awplus#
dir sort reverse size
Parameter
Description
all
List all files.
recursive
List the contents of directories recursively.
sort
Sort directory listing.
reverse
Sort using reverse order.
name
Sort by name.
size
Sort by size.
time
Sort by modification time (default).
<
filename
>
The name of the directory or file. If no directory or file is
specified, then this command lists the files in the current
working directory.
debug
Debug root directory
flash
Flash memory root directory
nvs
NVS memory root directory
usb
USB storage device root directory