redhat 9.0 how to use the command 'find' with the action -exec
I was a very beginner who just entering the linux world.
now I have one question
under bash
i don't know how to use 'find'
#find /home -user tom -exec cp -a {} /tmp
i want to copy the files which belongs to Tom to /tmp, but when i use the above command , the bash tells me:
missing arguments to '-exec'
how can i do?
|