address snippets

"ipaddr show" for MacOS

Tagged address, ip, ipaddr  Languages bash
alias wanip='dig +short myip.opendns.com @resolver1.opendns.com'
alias ipaddr='wanip && ipconfig getifaddr en1'