C613-50170-01 Rev B
Command Reference for x510 Series
129
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
F
ILE
AND
C
ONFIGURATION
M
ANAGEMENT
C
OMMANDS
DIR
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
To sort the files by modification time, oldest to newest, use the command:
awplus#
dir sort reverse time
To list the files within the Flash filesystem for stack member 2, use the command:
awplus#
dir awplus-2/flash:/
Note that you must specify the filesystem on the stack member (
flash
in this
example).
Output
Figure 2-4:
Example output from the
dir
command
Related
Commands
awplus#dir
630 -rw- May 19 2016 23:36:31 example.cfg
23652123 -rw- May 17 2016 03:41:18
149 -rw- Feb 9 2016 00:40:35 exception.log