A function that takes a domain name as an argument Show Sample Output
geoip from maxmind try to get the small utility via: apt-get install geoip Show Sample Output
Defines a function to geolocate a given IP address; if none supplied, will default to your external IP address. Show Sample Output
Show external IP and geolocation information. Primary feature is the use of tee to echo IP _and_ send to geoiplookup command...Use IP as input for as many commands as you want with more >( [command] ) Thanks to http://www.commandlinefu.com/commands/view/6334/ Requires MaxMind DB and geoiplookup tool. Sample output has IP obfuscated on first line, lines 2-4 from having MaxMind Country && MaxMind City DBs installed Show Sample Output
Shortest url to a external IP-service, 10 characters. Show Sample Output
Get your ip address, hostname, ASN and geolocation information. If you want just one field as a text response you can also get that,eg curl ipinfo.io/ip Show Sample Output
Check your local temperature based on geolocation. Show Sample Output
Grabs the ip2location site and removes everything but the span tag containing the country value. Place it inside your .bashrc or .bash_aliases file. Show Sample Output
JSON version. Additionally it may give your geolocation if it's known by hostip.info Show Sample Output
Just 253 chars of pure UNIX magic, with curl. I created this contrived bash one-liner while building a command-line bash game : www.rubegoldbash.com. Show Sample Output
take a list of IP:PORT and output IP:PORT:COUNTRY Show Sample Output
Additionally it may give your geolocation if it's known by hostip.info Show Sample Output
XML version. Additionally it may give your geolocation if it's known by hostip.info Show Sample Output
Per country GET report, based on access log. Easy to transform to unique IP Show Sample Output
Weather based on your location
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: