Return to Snippet

Revision: 20051
at November 5, 2009 10:48 by xxtjaxx


Initial Code
#! /bin/bash

whereto=/home/andreas/devel/snipporama/shell_scripts/comic
file=$(wget -O-  http://www.myglobalip.com 2>/dev/null | grep "<h2>" |  cut -d":" -f2)

echo ${file:1:${#file}-6}

Initial URL


Initial Description


Initial Title
get your global ip from myglobalip.com

Initial Tags


Initial Language
Bash