Find a file by name
find a file in linux | where is the file | search file by name | find a folder by name | find | search | filesfind /var/www/vhosts -iname '*wp-config*' 2>/dev/nullSearches the path including all subfolders for entries whose name contains the term. -iname ignores case, the asterisks allow any characters before and after. Permission errors are hidden.
Note: To find only files add -type f, only directories -type d.
Also searched as
- find a file in linux
- where is the file
- search file by name
- find a folder by name