how to remove a Directory on terminal code example Example: delete directory terminal rm -r directory-name