How to remove a directory

SSH Access

rmdir

This command lets you remove a directory. It will remove a directory only when it is completely empty. It prevents you from deleting directories with content in them. 

$ rmdir test1 
$