Command: rmdir

Syntax

rmdir <directory> {,<directory> ... }

Description

Delete one or more directories and their contents.

Parameters

Switches

Examples

Delete a directory.

rmdir my_dir

Delete multiple directories.

rmdir /usr/dir1, /usr/dir2, /usr/dir3

See Also

Commands:

mkdir

Identifiers:

current_dir (string), home_dir (string)