Regarding rm command

hi, i have to delete all the object files from the current directory, as well as the object files in the sub-dir i tried theses commands....

find . -name "*.o" -exec rm{}\;

find . -name *.o -exec rm{}\;

then i tried for a single file...

find . -name object_file_name.o -exec rm{}\;

find . -name "object_file_name.o" -exec rm{}\;

these four are not worked and it gives error as arguments are not found......i am working on red-hat linux 8.0.

tell me where i did the mistake...
Thanks in advance
sarwan

Your spacing is off
instead of rm{}\;
use rm {} \;