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.

Purpose

used to remove any directory by the name.

Syntax

$rmdir [directory_name]

Example

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!