Skip to content

Instantly share code, notes, and snippets.

@linrock
Last active January 6, 2016 08:04
Show Gist options
  • Save linrock/1689560 to your computer and use it in GitHub Desktop.
Save linrock/1689560 to your computer and use it in GitHub Desktop.
Fetch the alexa rank of a domain
#!/bin/bash
curl -s "http://www.alexa.com/siteinfo/$1" | grep -Po "^([\d,]+)\s+"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment