Posted By

beaknit on 07/27/11


Tagged

Bash


Versions (?)

Grep & Awk out the System IP


 / Published in: Bash
 

  1. ifconfig eth0 | grep "inet " | awk '{print $2}' | awk -F : '{print $2}'

Report this snippet  

You need to login to post a comment.