For empty folders, use either the rmdir or rm -d commands followed by the folder's name. The rm command with the -r dir option can also delete folders with content.