Getting More EDU Backlinks

If you already have lists of hundreds or thousands of potential backlinks contained in multiple files and want to extract the EDU links from them you can run a quick shell script on them.

Take the files that contain your lists of backlinks and put them in their own directory. Then navigate to that directory in the terminal and type the following lines:

for f in *
do
cat $f | grep '\.edu' >EDU-$f
done

An explanation of the script:

  1. for f in * means to loop over each file in the directory.
  2. cat $f outputs the contents of each file.
  3. grep '\.edu' >EDU-$f searches through the current file in the loop and extracts each line that contains .edu and then writes it to a file that begins with EDU-.
Share and Enjoy:
  • Twitter
  • Sphinn
  • Facebook
  • del.icio.us
  • Digg
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Mixx
  • Tumblr
  • FriendFeed
  • LinkedIn

Related posts:

  1. How to Find Thousands of Potential EDU Backlinks with GNU/Linux It's easy to automate the process of finding backlinks when...
  2. How to Extract Bot Activity From Logfiles How to extract search engine activity from raw logfiles and...
  3. How to Turn Proxy Hijacking Into Inbound Links to Your Web Site How to turn a dangerous proxy duplication into a beneficial...
  4. The Final Cure for WordPress Link Injection Someone please write this script and put an end to...
  5. Serious Bug in MSN SERPs This screenshot shows a bug in the MSN SERPs....

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*