sudo rm rf directory not empty code example Example: terminal delete directory not empty rm -rf myDirectory