[SunHELP] what does {} \ mean?

Kurt Huhn sunhelp at sunhelp.org
Fri Jul 6 13:59:20 CDT 2001


man find

"{}" takes the place of the current file - in other words, when you exec a
command on {} you are performing the command on the current file.  So,
ls-ldb {} \. lists the current file with -ldb options.  The "\." escapes the
command line -  so that find knows where the end is.  The "-exec" option is
repeated for every file returned by find.

Kurt

>
> Can anyone explain to me what { } \  means in find . -user
root -perm -4000
> -exec ls -ldb {} \.
>





More information about the SunHELP mailing list