English English

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*" 

 

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok