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
anaconda-ks.cfg
install.log
S98postkickstart-ori
S99post_oracle-ori
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
>
--
Regards: Romeo Ninov
_______________________________________________
Solaris-Users mailing list
Solaris-Users@fili...
http://www.filibeto.org/mailman/listinfo/solaris-users
opensubscriber is not affiliated with the authors of this message nor responsible for its content.