pull/307/merge
Jason Tarasovic 2014-07-31 19:11:48 +00:00
commit f450019e7b
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@ function ips ()
{
about 'display all ip addresses for this host'
group 'base'
ifconfig | grep "inet " | awk '{ print $2 }'
resp=$(ifconfig | grep "inet " | awk '{ print $2 }')
for r in $resp
do
echo -e "`echo $r | cut -d: -f1`: ${echo_bold_green}`echo $r | cut -d: -f2` ${echo_normal}"
done
}
function down4me ()