![Cisco ASR 14000 Series Скачать руководство пользователя страница 245](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667245.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
File System Commands on Cisco IOS XR Software
rmdir
SMR-243
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
rmdir
To remove an existing directory, use the
rmdir
command in EXEC or administration EXEC mode.
rmdir
filesystem
:
{
location
node-id
|
location
all
}
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Administration EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
rmdir
command to remove directories (for example, to free up disk space) from a file system.
After you issue the
rmdir
command, the Cisco IOS XR software prompts you to specify the name of the
directory to be deleted.
When a directory contains files, you must remove the files before deleting the directory. Use the
delete
command to remove files.
Task ID
Examples
The following example shows how to delete a subdirectory from the hard disk. The
dir
command is used
to verify that the directory has been deleted.
RP/0/RP0/CPU0:router#
rmdir harddisk:
Remove directory filename []?
newdir
Delete harddisk:/newdir[confirm]
y
RP/0/RP0/CPU0:router#
dir harddisk:
Directory of harddisk:
37146 drwx 4096 Sun Dec 14 15:30:48 2003 malloc_dump
filesystem
Name of the file system from which to delete a directory, followed by a
colon.
location
node-id
Removes a directory from the designated node.
location
all
Removes a directory from all nodes.
Releases
Modifications
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
filesystem
execute