Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
Replying to Bash Script To Display Your Ip
Posted 29 August 2009 - 12:16 AM
exip=`lynx -dump http://www.Whatismyip.Com | head -and 11`
curl -o /dev/null -s -u twittername:twitpasswd -d status="$exip" http://twitter.com/statuses/update.xml
Now if you setup a misc twitter account you can send this information to you if you happen to be on the road and need to know the ip to get in.
just insert your new twittername and paswd here and be sure to make those tweets private and then follow with your primary twitter account.
I use this from everything to knowing if root logs in to server powerdown and reboots.......
Posted 08 May 2009 - 02:12 AM
darkken: ifconfig gives you your internal IP (ie. The one your router gave you). If you want your network's external IP (ie. The one the internet sees), then the only real way is with external websites.
Posted 08 December 2008 - 09:08 PM
! /bin/bashexip=`lynx -dump http://www.Whatismyip.Com | head -and 11`Echo "$exip"-reply by silv3r
Posted 24 July 2008 - 10:11 AM
Posted 21 April 2008 - 02:10 PM
Bash Script To Display Your Ip
I accidentally pressed Enter key without assigning a new password in my freewebs.Com site. Now they say my password is "null".
Any help available to recover my site?
-reply by Cherian
Posted 11 December 2007 - 05:13 PM
You could/should also include links instead of lynx. Usually links is installed, for lynx you have to select individual packages, which not everyone does. (I do but that's not the point )
In any way, Links looks better than lynx. And the speed of both is the same
It's not a very long tutorial but it's nice.
Why lynx? wget is more common on unix based default installs these days than lynx or links or elinks (or any other text browser for that matter).
Posted 11 December 2007 - 01:18 PM
Nice idea, I'm surprised it works.
Posted 11 December 2007 - 04:35 AM
Posted 02 September 2005 - 06:42 AM
Posted 27 May 2005 - 08:14 PM