C613-50100-01 REV C Command Reference for x930 Series 137
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
FILE AND CONFIGURATION MANAGEMENT COMMANDS
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
cd
pwd
awplus#dir
630 -rw- May 19 2016 23:36:31 example.cfg
23652123 -rw- May 17 2016 03:41:18 x930-5.4.6-1.1.rel
149 -rw- Feb 9 2016 00:40:35 exception.log