Rename ip alias to externalip

This commit is contained in:
Ivan Malison 2016-09-08 13:11:58 -07:00
parent a96b425ffb
commit 4770dcf45b
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -22,7 +22,7 @@ fi
alias ls="command ls ${colorflag}"
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias externalip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'"
alias whois="whois -h whois-servers.net"