< Home

rmdir (user view)

Function

The rmdir command deletes a empty directory.

Format

rmdir delete-remote-directory

Parameters

Parameter Description Value
delete-remote-directory Specifies the name of the directory. The value is a string of 1 to 64 characters.

Views

User view

Default Level

3: Management level

Usage Guidelines

The directory to be deleted must be an empty one.

Example

# Delete the directory test.

<sysname> rmdir test
Remove directory hda1:/test?[Y/N] :y
%Removing directory hda1:/test.........Done
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >