forked from colonelpanic/dotfiles
Rename ip alias to externalip
This commit is contained in:
parent
a96b425ffb
commit
4770dcf45b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user