A little SSH script to search for a name in All files on your server.
Copy and Paste the code below and save it in a file called:
searchname.php
<?php echo shell_exec(' #!/bin/bash grep -a -R "search-name-here" * > SearchResultsHere.txt echo " Search Done! " '); ?> |
This little script will search for the name you replaced with "search-name-here" on your server and save the results in a file called "SearchResultsHere.txt"
It will also show you the path directory where the file came from.
This may run for a few seconds to a few minutes.