[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Why no exec command in RHEL5



Typo. Make that \; at the end
On Apr 24, 2011 2:05 PM, "Stephen Gilbert" <linuxelf gmail com> wrote:
> exec is an argument to find, not a standalone executable. Try:
>
> find . -exec echo {} /;
> On Apr 24, 2011 1:58 PM, "Abhilash abhi" <abhilashck72 gmail com> wrote:
>> Also please let us know which package should i install to get this..
>>
>> On Sun, Apr 24, 2011 at 11:23 PM, Abhilash abhi <abhilashck72 gmail com
>>wrote:
>>
>>> Hi All,
>>>
>>> Why there is no command `exec` in RHEL5.
>>>
>>> [root localhost ~]# which exec
>>> /usr/bin/which: no exec in
>>>
>
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
>>>
>>> because of this i am not able to execute finds output using exec!!
>>>
>>>
>>> --
>>>
>>> Regards,
>>> Abhilash
>>>
>>
>>
>>
>> --
>>
>> Regards,
>> Abhilash
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]