aboutsummaryrefslogtreecommitdiffstats
path: root/bin/checkip
blob: f7f2f4cb49f913c74eeca2682e4b569fff1016b6 (plain)
1
2
3
#!/bin/bash
ip=`curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g'`
echo "$ip"