On 3/10/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
Carl Lowenstein wrote:

>
> Use find(1) not du(1) and simplify to:
>
> rm $( find . -name lock | grep .mozilla )


So $( ... ) indicates a sub-command.  (This will certainly help me many
times to come.  Thanks)


$( <command> ) means "the output of <command>".  Equivalent to
quoting with back-quotes `<command>` but much easier to see, and also
nestable.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to