On Mon, Nov 29, 2010 at 6:38 AM, frankhunt wrote:
> As usual, especially in Linux, "it depends" . . .
>
> whereis: will search only particular paths to find binaries and or
> manpages.
>
> locate: locate uses a database created by updatedb to efficiently locate
> files. Works great, assuming your
On Mon, 29 Nov 2010, frankhunt wrote:
> As usual, especially in Linux, "it depends" . . .
And, there's 'which' that shows the full path to (shell) commands. Useful
for finding binaries to run.
Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http:
As usual, especially in Linux, "it depends" . . .
whereis: will search only particular paths to find binaries and or
manpages.
locate: locate uses a database created by updatedb to efficiently locate
files. Works great, assuming your database is updated often enough.
updatedb usually runs dai
On Sun, 28 Nov 2010, Rogan Creswick wrote:
> If you need to find things often, you're probably better served by running
> updatedb more frequently. I often 'sudo updatedb', grab a coffee, and
> come back to run locate. (well, I do this less often than I drink coffee
> :). For me, updatedb is a 5
On Sun, Nov 28, 2010 at 6:14 PM, John Jason Jordan wrote:
> On Sun, 28 Nov 2010 16:47:54 -0800
> Marvin Kosmal dijo:
>
>>Locate uses a database to answer the question..
>>
>>Find does a search to answer the question..
>>Find is also A LOT move flexible.. Takes more options
>
> Thanks for all t
On Sun, 28 Nov 2010 16:47:54 -0800
Marvin Kosmal dijo:
>Locate uses a database to answer the question..
>
>Find does a search to answer the question..
>Find is also A LOT move flexible..Takes more options
Thanks for all the replies. Now I understand. And from now on I'll just
use find.
On 11/28/10, John Jason Jordan wrote:
> This is weird:
>
> [r...@devil8 jjj]# locate nvidia.ko
> /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
>
> [r...@devil8 jjj]#
> rm /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
> rm: cannot remove
> `/lib/modules/2
On 11/28/10, Marvin Kosmal wrote:
> HI
>
>
> Find takes more options
>
> Try
>
>
> find / -name "nvidia.ko" -print
>
> Marvin
>
This works better..
find / -name "nividia.ko" -print 2>/dev/null
Marvin
>
>
> On 11/28/10, John Jason Jordan wrote:
>> This is weird:
>>
>> [r...@devil8 jjj]
you can run updatedb manually also
On 11/28/2010 04:27 PM, Scott Garman wrote:
> On 11/28/2010 04:12 PM, John Jason Jordan wrote:
>> This is weird:
>>
>> [r...@devil8 jjj]# locate nvidia.ko
>> /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
>>
>> [r...@devil8 jjj]#
>> rm /lib/
HI
Find takes more options
Try
find / -name "nvidia.ko" -print
Marvin
On 11/28/10, John Jason Jordan wrote:
> This is weird:
>
> [r...@devil8 jjj]# locate nvidia.ko
> /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
>
> [r...@devil8 jjj]#
> rm /lib/modules/2.6.34.7-61.f
On 11/28/2010 04:12 PM, John Jason Jordan wrote:
> This is weird:
>
> [r...@devil8 jjj]# locate nvidia.ko
> /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
>
> [r...@devil8 jjj]#
> rm /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
> rm: cannot remove
> `/lib
This is weird:
[r...@devil8 jjj]# locate nvidia.ko
/lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
[r...@devil8 jjj]#
rm /lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko
rm: cannot remove
`/lib/modules/2.6.34.7-61.fc13.x86_64/kernel/drivers/video/nvidia.ko':
12 matches
Mail list logo