Linux rmdir Command

In this tutorial we learn how to use rmdir commmand in Linux. rmdir command is rmdir - remove empty directories

What is Linux rmdir Command?

In this tutorial we learn how to use rmdir command in Linux. rmdir command is rmdir - remove empty directories

rmdir Syntax

       rmdir [OPTION]... DIRECTORY...

rmdir Examples

rmdir Command Manual / Help

We can use man and info command to see the manual page of rmdir command.

rmdir command also have --help option to show list of options.

To open man page for rmdir command we can use command below. To exit man or info page you can press q.

man rmdir

To open info page for rmdir command we can use command below.

info rmdir

To open help page from rmdir command we can run command below.

rmdir --help

Linux rmdir Command Source Code

You can find rmdir command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use rmdir in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.