[root@cheat ~]#keyboard_backspaceBack

rmdir

Remove empty directories. Only works on directories that contain no files.

Primary Syntax
$ rmdir empty_folder
#

Example Usage

rmdir /tmp/empty_dir
#

Quick Tips

Use man rmdir to read the full manual

Add --help flag for quick options reference

Combine with | less for paginated output

Submitted by: admin

Added: 2/9/2026

arrow_back