Alcatel-Lucent 6850-48 Guida Di Riferimento
File Management Commands
page 7-16
OmniSwitch CLI Reference Guide
September 2009
rm
Permanently deletes an existing file. This command can also delete a directory if the -r keyword is used.
rm [-r] [path/]filename
Syntax Definitions
-r
Syntax that recursively removes directories, as well as any associated
subdirectories and files. Be sure to include a space between the syntax
rm and -r (i.e., rm -r).
subdirectories and files. Be sure to include a space between the syntax
rm and -r (i.e., rm -r).
path
The path (i.e., location) containing the file being removed. If no path is
specified, the command assumes the current directory.
specified, the command assumes the current directory.
filename
The name of the existing file being deleted. Up to thirty-two (32) char-
acters may be used (e.g., test_config_file).
acters may be used (e.g., test_config_file).
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Be sure to separate path directories and file names with a slash (/). Refer to the examples below.
• Use care when deleting files. Depending on your switch and network configurations, specific configu-
ration and image files must be present for your system to work properly.
• This command can also be used on the secondary CMM.
Examples
-> rm test_config_file
-> rm flash/test_config_file
Release History
Release 6.1; command was introduced.
Related Commands
Deletes an existing file.