Linux Find File Anywhere
If you are willing to search a file in linux command from anywhere, firstly you got to install package name locate. It will help you search for files in every directory.
Install locate by typing :
apt-get install locate
after it's done installing, type these command so locate will update your directory list into it's local database in your computer
updatedb
The syntax for finding is using :
locate filename
For example, we want to search file name shadow. So the syntax will be :
locate shadow
Remember, locate will only works if you are typing the exact same name since it's case sensitive.
Also, another alternative without installing a package is by just typing
find / -name shadow