Cisco ASR 14000 Series Management Command Reference page 245

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

File System Commands on Cisco IOS XR Software
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
rmdir
To remove an existing directory, use the rmdir command in EXEC or administration EXEC mode.
Syntax Description
filesystem
location node-id
location all
Defaults
No default behavior or values
Command Modes
EXEC
Administration EXEC
Command History
Releases
Release 3.7.1
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
Task ID
filesystem
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
OL-17231-01
rmdir filesystem: {location node-id | location all}
Name of the file system from which to delete a directory, followed by a
colon.
Removes a directory from the designated node.
Removes a directory from all nodes.
Modifications
This command was introduced on the Cisco ASR 14000 Series Router.
Operations
execute
drwx
4096
Sun Dec 14 15:30:48 2003
Cisco ASR 14000 Series Router System Management Command Reference
malloc_dump
rmdir
SMR-243

Advertisement

Table of Contents
loading

Table of Contents