how to delete a directory with folders in linux code example Example: delete directory linux rm -rf dir1