Merge c92300032d into e0c48b1637
commit
f450019e7b
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Reference in New Issue