On 3 Mar 2003, nimish wrote:

> 
> When I am locating files while running the command as root
> 
> locate *.png |more
> 
> my PCQ Linux 8.0 returns an error
> 
> warning: locate: could not open database: /var/lib/slocate/slocate.db:
> No such file or directory
> 

 Hi,
  It is pretty clear what it is giving. updatedb creates database and
locate  will see the database and give the result. If you create any file
and
with out running updatedb locate can't find. So better option is run
updatedb through cron job.
find has many options and it is also best bet for some times.
sam



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to