Strictly speaking no you don't need to enclose the
braces in quotes. All you need to do is either
eliminate the -print option or use -ok instead of
-exec. -ok will automatically prompt you for deletion
of the file.
Vicky
--- Rajeev Jha <[EMAIL PROTECTED]> wrote:
> hello list
> braces should be quoted and with spacing
>
> find / -name core -exec rm '{}' \;
>
>
> you wrote >>Try this command
> you wrote >>
> you wrote >>find . -name core -exec rm {} \; -print
> you wrote >>
>
> The purpose of most computer languages is to
> lengthen
> your resume by a word and a comma.
>
> -- Larry Wall
>
>
> RedHat 6.1 Cartman kernel 2.2.12-20 Composed in
> pine
>
>
___________________________________________________________
> |
> Rajeev Jha | Email :
> [EMAIL PROTECTED]
> (20) 5424301 -1126 | Sharda centre
>
>
______________________|______________________________________
>
>
>
> ----------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
----------------------------------------------
LIH is all for free speech. But it was created
for a purpose. Violations of the rules of
this list will result in stern action.