for example this command:
ls |xargs grep -l inst
will list the files and execute grep with parameter inst i.e. search
for keyword inst on list of the files, provided by ls command
And the result will be:
[root@vmlinux ~]# ls |xargs grep -l inst
On Wed, Aug 11, 2010 at 8:18 AM, hadi motamedi <motamedi24@gmai...> wrote:
> On Wed, Aug 11, 2010 at 10:19 AM, Romeo Ninov <rninov@gmai...> wrote:
>> The list of arguments in command line is too long to be handled by shell.
>> Check man xargs
>> Regards: Romeo Ninov
>> Thank you very much for your help. I read the man xargs but I didn't
> understand how to solve my problem. Can you please provide me with a cure
> for it?
> Solaris-Users mailing list
> Solaris-Users@fili... > http://www.filibeto.org/mailman/listinfo/solaris-users >