remove all files ending with in subdirectories linux code example Example: how to delete particular type file recursively in linux find . -type f -name '*.o' -delete