You are here: Home > CLI Commands > Just_CLI_Topics > dir

dir

dir [usb:]

Description

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

Syntax

Parameter

Description

usb:

Displays the files in the external USBUniversal Serial Bus. USB is a connection standard that offers a common interface for communication between the external devices and a computer. USB is the most common port used in the client devices. .

NOTE: This parameter can be executed for managed devices that have an USBUniversal Serial Bus. USB is a connection standard that offers a common interface for communication between the external devices and a computer. USB is the most common port used in the client devices. port.

Usage Guidelines

Use this command to view the system files associated with the Mobility Master. To view the system file associated with the managed device, login to the Mobility Master and initiate a telnet or SSHSecure Shell. SSH is a network protocol that provides secure access to a remote device. session to the managed device.

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

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platform

License

Command Mode

All platforms

Base operating system.

Enable or Config mode on Mobility Master.

/*]]>*/