dir

dir

date

flash

name

search

size

usb:

Description

This command displays a list of files stored in the flash file system.

Use this command to view the system files associated with the Mobility Conductor. To view the system file associated with the managed device, login to the Mobility Conductor and initiate a telnet or SSH session to the managed device.

Parameter

Description

date

Sort the directory contents by date

flash

list the /flash directory contents

name

Sort the directory contents by name

search

Filter the directory contents by keyword

size

Sort the directory contents by size

usb:

Displays the files in the external USB.

NOTE: This parameter can be executed for managed devices that have an USB port.

Output from this command includes the following:

  • The first column contains ten place holders that display the file permissions.
    • First place holder: Displays - for a file or d for directory.
    • Next three place holders: Display file owner permissions: r for read access, w for write access permissions, x for executable.
    • Following three place holders: Display member permissions: r for read access or x for executable.
    • Last three place holders: Display non-member permissions: r for read access or x for executable.
  • The second column displays the number of links the file has to other files or directories.
  • The third column displays the file owner.
  • The fourth column displays group/member information.
  • The remaining columns display the file size, date and time the file was either created or last modified, and the file name.

Example

The following command displays the files currently residing on the system flash:

(host) [mynode] #dir

The following is sample output from this command:

-rw-r--r-- 1 root root 9338 Nov 20 10:33 class_ap.csv

-rw-r--r-- 1 root root 1457 Nov 20 10:33 class_sta.csv

-rw-r--r-- 1 root root 16182 Nov 14 09:39 config-backup.cfg

-rw-r--r-- 1 root root 14174 Nov 9 2005 default-backup-11-8-05.cfg

-rw-r--r-- 1 root root 16283 Nov 9 12:25 default.cfg

-rw-r--r-- 1 root root 22927 May 25 12:21 default.cfg.2016-05-25_20-21-38

-rw-r--r-- 2 root root 19869 May 9 12:20 default.cfg.2016-05-09_12-20-22

Command History

Release

Modification

AOS 8.0.0.0

Command introduced.

Command Information

Platform

License

Command Mode

All platforms

Base operating system.

Enable or Config mode on Mobility Conductor.