2014-05-27 eth1のIPアドレスをワンライナーで取得する. ifconfig | grep eth1 -A 2 | grep 'inet addr' | awk '{print $2}' | awk -F: '{print $2}'