how to delete a directory ubuntu command line code example Example: ubuntu remove directory rm -R folder-name