rm all .o code example
Example 1: how to delete particular type file recursively in linux
find . -type f -name '*.o' -delete
Example 2: linux remove all files same extension in directory
find . -type f -iname \*.zip -delete
find . -type f -name '*.o' -delete
find . -type f -iname \*.zip -delete