To find a file in Linux console. We can use "find" command.

1. Find by name

find [directory]   -name   [filename]

For example, finding your computer hosts file. 

find / -name hosts

---Result------ 
/etc/hosts
/etc/avahi/hosts
/var/spool/postfix/etc/hosts