On 2011-11-08 Peng Yu wrote:
> On Tue, Nov 8, 2011 at 12:07 PM, Andreas Metzler
> wrote:
[...]
> ~$ dpkg -S bin/updatedb
> mlocate: /usr/bin/updatedb.mlocate
> Does updatedb.mlocate has anything to do with findutils?
mlocate is a different program than GNU locate providing the same
functionali
On Tue, Nov 8, 2011 at 12:07 PM, Andreas Metzler
wrote:
> On 2011-11-08 Peng Yu wrote:
>> I see that updatedb is a bash script after I compiled the source. But
>> updatedb in ubuntu is a binary. I'm wondering where the binary
>> updatedb in ubuntu comes from?
>
> dpkg -S bin/updatedb
~$ dpkg -S
On 2011-11-08 Peng Yu wrote:
> I see that updatedb is a bash script after I compiled the source. But
> updatedb in ubuntu is a binary. I'm wondering where the binary
> updatedb in ubuntu comes from?
dpkg -S bin/updatedb
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other fr
Hi,
I see that updatedb is a bash script after I compiled the source. But
updatedb in ubuntu is a binary. I'm wondering where the binary
updatedb in ubuntu comes from?
--
Regards,
Peng
On Tue, Nov 8, 2011 at 3:40 AM, James Youngman wrote:
> On Tue, Nov 8, 2011 at 12:11 AM, Peng Yu wrote:
>> On Mon, Nov 7, 2011 at 5:47 PM, James Youngman wrote:
>>> You can achieve this by using locate --regex.
>>
>> Suppose I want to restrict the search to /tmp, what regex I should specify?
>
>
On Tue, Nov 8, 2011 at 12:11 AM, Peng Yu wrote:
> On Mon, Nov 7, 2011 at 5:47 PM, James Youngman wrote:
>> You can achieve this by using locate --regex.
>
> Suppose I want to restrict the search to /tmp, what regex I should specify?
locate --regex '^/tmp\($\|/\)'
... but most distributions don'