User Tools

Site Tools


linux:whatismyip_cli

What is my IP - command line style

apr.2014

$ alias whatismyip="curl -s mi-ip.net | grep '\"ip\"' | cut -f2 -d \">\" | egrep -o '[0-9.]+'"
$ whatismyip

linux/whatismyip_cli.txt · Last modified: 2014/04/18 13:37 by admin