remove folder in terminal windows code example Example: delete directory terminal rm -r directory-name