rmdir command is used to remove a specified directory by the name in linux,it well work smae as multiple directory remove on the time in linux the following syntax and example of rmdir command.
used to remove any directory by the name.
it will remove the directory named 'demodir' in the system
it will remove multiple directories at the same time
$rmdir demodir1 demodir2 demodir3