By using this command, you can easily find all the files having the same name within the passed directory path if it is present in one of the folders.
1. Find file through Name
find [directoryname] -name [filename]
find dir1 -name file1.txt
Subscribe to our channel for more tech stuff.