Dir - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

dir

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] [<url>|flash|nvs|card|debug]
Parameter
all
recursive
<url>
flash
nvs
card
debug
Privileged Exec mode
Mode
To list the files in the current working directory, use the command:
Examples
To list the non-hidden files in the root of the Flash filesystem, use the command:
To list all the files in the root of the Flash filesystem, use the command:
To list recursively the files in the Flash file system, use the command:
In a stacked environment you can use the CLI on a stack master to access file systems that are
Usage
located on another stack member. In this case, when you enter the command, specify the stack
member's file system by using the following syntax:
<hostname>-<member-id>/
(for example, awplus-1/ for a file or directory on stack member 1, awplus-2/ for
member 2 etc).
To list the files within the flash file system for stack member 3, use the command:
Example
Note that you must specify the filesystem on the stack member ("flash" in this example).
cd
Related Commands
pwd
C613-50007-01 REV B
Description
List all files.
List the contents of directories recursively.
URL of the directory or file. If no directory or file is specified, then
this command lists the files in the current working directory.
Flash memory root directory
NVS memory root directory
SD card root directory
Debug root directory
awplus#dir
awplus#dir flash:
awplus#dir all flash:
awplus#dir recursive flash:
awplus#dir awplus-3/flash:/
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
File Management Commands
7.13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents