nimana – weblog

Posts Tagged ‘ip

How to get (just the) IP Address on a unix machine

leave a comment »


ifconfig | grep "Bcast:" | cut -d':' -f2 | cut -d'B' -f1

Written by nimana

February 26, 2010 at 3:53 pm

Posted in Tech

Tagged with , , ,