diff options
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ alias update='sudo softwareupdate -i -a; brew update; brew upgrade' # IP addresses alias ip="dig +short myip.opendns.com @resolver1.opendns.com" alias localip="ipconfig getifaddr en1" -alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" +alias ips="ifconfig -a | grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\|[a-fA-F0-9:]\+\)' | sed -e 's/inet6* //'" # Enhanced WHOIS lookups alias whois="whois -h whois-servers.net" |