Chinaunix

标题: About the "updatedb"??? [打印本页]

作者: Bluebear1218    时间: 2003-05-13 10:34
标题: About the "updatedb"???
Who know the "updatedb"?
It's auto run on my computer every day,and I have to kill it manually.It's noisy,but dose it have some important function?or how can I stop it forever!!!???thanks
作者: i2era    时间: 2003-05-13 10:48
标题: About the "updatedb"???
locate use it

man cron
作者: 无花果    时间: 2003-05-13 10:52
标题: About the "updatedb"???
通过crond每天执行, 目的是收集系统中目录和文件信息,更新数据库,
可以通过 locate filename 查询某个特定的文件所在的位置. 同whereis 和which. 不过它显示的是与filename匹配的所有绝对路径记录.
作者: sakulagi    时间: 2003-05-13 12:01
标题: About the "updatedb"???
如果不需要,可以到/etc/cron.d/里找到对应的脚本,把他move到别处
作者: Bluebear1218    时间: 2003-05-13 14:29
标题: About the "updatedb"???
Thanks everybody,
vi /etc/cron.d/  nothing,
then /etc/cron.daily/
mv slocate /tmp
is that right?
作者: sakulagi    时间: 2003-05-13 14:31
标题: About the "updatedb"???
I think it's right
作者: safirst    时间: 2009-02-23 13:15
原帖由 Bluebear1218 于 2003-5-13 14:29 发表
Thanks everybody,
vi /etc/cron.d/  nothing,
then /etc/cron.daily/
mv slocate /tmp
is that right?



That will do, but since the slocate may be some kind of  useful,
so move it to /etc/cron.monthly should be a better idea.
作者: deeplydrink    时间: 2009-02-23 14:53
原帖由 safirst 于 2009-2-23 13:15 发表



That will do, but since the slocate may be some kind of  useful,
so move it to /etc/cron.monthly should be a better idea.

我不能同意你更多




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2