Showing posts with label How to remove. Show all posts
Showing posts with label How to remove. Show all posts

Friday, 26 July 2019

Unix Commands: rmdir

rmdir

rmdir (remove directory) is used to remove a directory,

> rmdir Dirname
To delete the empty directory Dirname.
This command can be used only when the directory is empty.
  
We can delete non empty directory as below:
i.e. recursively

> rm –r Dirname