delete folder from command line ubuntu code example Example: ubuntu remove directory rm -R folder-name