how to delete folder through terminal code example Example: delete directory terminal rm -r directory-name