locate - find files by name, quickly

To search for a file
$ locate <file_name>
$ locate sample.pdf
$ locate sample.txt

To search and show only the existing files in the system
$ locate -e <file_name>

To print the number of matched files
$ locate -c <file_name>

To limit the number of search
$ locate *.txt -n 15

To Ignore case sensitive files
$ locate -i test_file



regards,
T.Dhanasekar