R0106-HP MSR Router Series Fundamentals Command Reference(V7)

195
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
<Sysname>
rmdir
Use rmdir to delete an existing directory.
Syntax
rmdir directory
Views
User view
Parameters
directory: Specifies the name of the directory to be deleted.
Usage guidelines
To delete a directory, first delete the files and subdirectories in the directory. To delete files, use the delete
command.
Examples
# Delete the mydir directory.
<boot> rmdir flash:/mydir
Remove directory flash:/mydir?[Y/N]:y
Directory flash:/1 removed.
Related commands
delete
dir
mkdir
shutdown
Use shutdown to shut down the management Ethernet port.
Use undo shutdown to bring up the management Ethernet port.
Syntax
shutdown
undo shutdown
Default
The management Ethernet port is up.
Views
Management Ethernet port view