Here is a basic find command in a linux terminal through ssh:
find / -name ‘filename.txt’
So that would search for an exact filename of filename.txt in any directory on the server, to narrow it down change the / part to whatever filepath like /home/username/public_html and the search will go much more quickly. You can use wildcards if you have multiple directories you want to search like /home/*/public_html.
Thisfinds files that start with index:
find /home/*/public_html/ -name ‘index*’
Then if you want to find any file that contains the work index, then you could use:
find /home/*/public_html/ -name ‘index*’
if you use iname, it makes it case insensitive:
find /home/*/public_html/ -iname ‘*index*’
find files that were modified just today:
find /home/*/public_html/ -daystart -ctime 0 -print
If you want to search for a specific username:
find /home/ -user user1