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
warning: You need to run the 'updatedb' command (as root) to create the
database

slocate depends upon updatedb. So run updatedb which makes latest chages to the system to come under db's scope and list files when invoked by locate.
For more details "man updatedb"


Cheers.
Mahantesh.



-------------------------------------------------------
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