terminal removing files from a directory code example Example: delete directory mac terminal rm -r dirname