I use a similar thing "find / -name core -exec rm {} \; "
which executes the rm command on the list of files (core) that are
found by the find.
The {} is the filename found by the find command
And the \; is to tell the exec command that is the end of
the command ; is short for enter and \ escapes the command
so it is not caught by the shell. Tony ... aka chgwhat
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.