Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
File Management Commands
page 7-10
OmniSwitch CLI Reference Guide
September 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 6400, 6850, 6855, 9000, 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.