# To remove an Empty directory, Use $ sudo rmdir folder-name # If it is not a empty directory, then rm command can be used $ sudo rm -rf folder-name