#!/usr/bin/env bash ip addr show $@ | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'