locate in Linux - print only existing names
locate -i -e hosts
-e
option - is used to print out such names that currently exist (instead of such names that existed when the database was created)