IP from Command Line
This is a quick post. I was wondering how to get my IP Address without going to popular sites. I came up with this bash script
#!/bin/bash -
IP=$(curl -s www.slurpware.org);
echo $IP;
exit 0;
IP=$(curl -s www.slurpware.org);
echo $IP;
exit 0;
July 29th, 2009 at 10:43 pm
http://labs.kitiyo.com/wtsmyip.php
July 29th, 2009 at 11:06 pm
Definitely better. Saves the trouble to load heavy websites