how to delete the directory ububntu terminal code example Example: how to delete a folder in ubuntu using terminal rm -R folder-name