Why no exec command in RHEL5

Stephen Gilbert linuxelf at gmail.com
Sun Apr 24 18:06:29 UTC 2011


Typo. Make that \; at the end
On Apr 24, 2011 2:05 PM, "Stephen Gilbert" <linuxelf at 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 at 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 at gmail.com
>>wrote:
>>
>>> Hi All,
>>>
>>> Why there is no command `exec` in RHEL5.
>>>
>>> [root at 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 at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list



More information about the redhat-list mailing list