`locate` is a command-line tool for local file search using a database.

learn more… | top users | synonyms

0
votes
1answer
19 views

updatedb.conf, Ignore files using pattern match/globbing

Running locate command with a file name returns multiple entries as, a.py a.pyc a.py~ Obviously, i am not looking for binaries/compiled files. I tried to configure locate command to ignore files ...
0
votes
0answers
23 views

mlocate not returning any results for known file, even after updatedb

I am speechless... [root@Centos-PHP56 webroot]# ls -al php_errors.log -rw-r--r-- 1 apache apache 327 Apr 21 01:49 php_errors.log [root@Centos-PHP56 webroot]# updatedb [root@Centos-PHP56 webroot]# ...
0
votes
0answers
37 views

Is there a `find` command that uses a database, like `locate`?

locate is simple yet quick because it's database based. find offers much more options but it's slower because it actually browses the filesystem each time it's invoked. So.. find using a database ...
0
votes
0answers
308 views

Installing mlocate on mac OS 10.7

I'm a beginner in using Linux. I'm trying to use the command "locate". Once I use this command, I get an error that says the locate database should be created. I used the command below to create that ...