This command is used to remove a directory in the current working directory.
dirname − The name of the directory which needs to be removed.
/* Main program */ rmdir Test
When we run the above program we will get the following result.
When we run the above program, the directory called Test will be removed.