Search for a file with given file name pattern

Search in linux for a file with a certain file name pattern.

Please replace "FILENAMEPATTERN" with the filename that you want to search. In this example in every folder will be searched.

find / -type f -iname "*FILENAMEPATTERN*" 

To search only in the home directory for example:

find /home -type f -iname "*FILENAMEPATTERN*" 

 

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
Ok