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: [r...@vmlinux ~]# ls |xargs grep -l inst anaconda-ks.cfg install.log S98postkickstart-ori S99post_oracle-ori
On Wed, Aug 11, 2010 at 8:18 AM, hadi motamedi <motamed...@gmail.com> wrote: > On Wed, Aug 11, 2010 at 10:19 AM, Romeo Ninov <rni...@gmail.com> 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@filibeto.org > http://www.filibeto.org/mailman/listinfo/solaris-users > -- Regards: Romeo Ninov _______________________________________________ Solaris-Users mailing list Solaris-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/solaris-users