lunedì 21 marzo 2011

Get your external ip with bash

Here a little way....

to make the script:


edit a new file with an editor (for example gedit/nedit etc..)


   

    #!/bin/bash
    wget www.whatismyip.com/automation/n09230945.asp -O - -q
    echo "                                               "


than make it executable

chmod +x script_name

To make it available in all the place of your system: copy it into /bin/

Nessun commento:

Posta un commento