1 Star 0 Fork 4.9K

bill / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rmdir.md 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

rmdir

Command Function

This command is used to delete a directory.

Syntax

rmdir [dir]

Parameter Description

Table 1 Parameters

Parameter

Description

Value Range

dir

Indicates the name of the directory to be deleted. The directory must be empty. You can enter a path for this parameter.

N/A

Usage

  • The rmdir command can only be used to delete directories.
  • The rmdir command can delete only one directory at a time.
  • The rmdir command can delete only empty directories.

Example

Enter rmdir dir.

Output

Figure 1 Deleting directory dir

1
https://gitee.com/ximeibaba/docs.git
git@gitee.com:ximeibaba/docs.git
ximeibaba
docs
docs
master

搜索帮助