ls
Displays the contents of a specified directory or the current working directory.
ls [-r] [[path/]dir]
Syntax Definitions
-r
path/
dir
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
•
Be sure to separate multiple path directories with a slash (/).
•
Up to 255 characters may be used for a fully qualified path.
•
A path can contain up to a maximum of seven (7) directories including /flash.
•
As with files names, up to thirty-two (32) characters may be used for a directory name.
•
File and directory names can include only the following character types: a-z, A-Z, 0-9, dashes (-),
dots (.), and underscores (_).
•
This command can also be used on the secondary CMM.
page 58-10
Optional syntax that displays the contents of the current directory in
addition to recursively displaying all subdirectories. Be sure to include a
space between the syntax ls and -r (i.e., ls -r).
Specifies the path (i.e., location) of a particular directory to be
displayed. If no path is specified, the command assumes the current
location.
Specifies a particular directory to be displayed. If no directory name is
specified, the contents of the current working directory are displayed.
File Management Commands
OmniSwitch CLI Reference Guide
June 2012