delete a directory with contents in ubuntu code example Example: ubuntu remove directory rm -R folder-name