how to delete file in mac using command line code example Example: sudo rmdir recursive sudo rm -r -f /path/