ITS UP 2 U Information HomeContact
Log inRegister
  • Home
  • Contact

  • Register

Home

  • « Apache Shell SSH - Search & Replace a Name in Files
  • How To Unlock The Kwikset Bedroom / Bathroom Lock with a Paper Clip »

Apache Shell SSH - Search for a Name in ALL Files

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  | tr -d "\r"
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. 

No feedback yet


Form is loading...

Search

Categories

Home

  • General
  • Hacks
  • How To
  • Tips n Tricks
  • Videos

Recent Posts

  • How to Remove Jomres Syndication Network Listings
  • Emergency Roadside Assistance
  • Apache Shell SSH - Search & Replace a Name in Files
  • Apache Shell SSH - Search for a Name in ALL Files
  • How To Unlock The Kwikset Bedroom / Bathroom Lock with a Paper Clip
  • Swimming Pool Inspections
  • Learn the Fox Trot: Father of Bride and Bride 1st Dance
  • How to update Joomla 2.5.27 to 3.8.2
  • How to remove b2evolution logo and links in footer
  • Fix Joomla Google Structured Data Article Errors
  • locksmith keywords and my locksmith sites
  • Email you when Googlebot or Bingbot crawls your website
  • The Lockout Drilling Scam
  • How To Make Your Own Jomres Plugin Manager
  • Intellectual property codes

Contact • Help

© 2021 ITS UP 2 U Information.All rights reserved.