File Management Commands
page 7-10 OmniSwitch 6250 CLI Reference Guide November 2009
ls
Displays the contents of a specified directory or the current working directory.
ls [-r] [[path/]dir]
Syntax Definitions
-r 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).
path/ Specifies the path (i.e., location) of a particular directory to be
displayed. If no path is specified, the command assumes the current
location.
dir Specifies a particular directory to be displayed. If no directory name is
specified, the contents of the current working directory are displayed.
Defaults
N/A
Platforms Supported
OmniSwitch 6250
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.