remove directory terminal command code example Example: delete directory terminal rm -r directory-name