02-06 rmdir command

01

man rmdir 

The options are in Description

02

rmdir will only remove an empty directory such as the Test we created with mkdir

cd ~/Documents/
                
ls -l
                
rmdir Text
                
ls -l
                

03

This will not work with ParentFolder

04

Use

rmdir -p ParentFolder/SubFolder01/SubFolder0101
                

you must include sub directories in path to delete ParentFolder directory

05

A shorter way around removing direcories is using, ** Be Careful will overwirte and delete anything

rm -rf (DirectoryName)