Linux RMDIR Command

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.


$rmdir [directory_name]


it will remove the directory named 'demodir' in the system

$rmdir demodir

it will remove multiple directories at the same time

 $rmdir demodir1 demodir2 demodir3
Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!