We have Centos 7.Trying to use the "locate" command does not give anything, even if the search file [s] really exists.Error not printed.It also runs "sudo updatedb" to update the "locate" indexes.Any ideas?thank you
To install the location package, use yum:
$ yum install mlocate
To update your "internal database", run the following command.
$ updatedb
In addition, most of these quick search programs work only on local file systems, that is, on NFS or CIFS. $ 0.02.