/ Published in: Bash
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ifconfig eth0 | grep "inet " | awk '{print $2}' | awk -F : '{print $2}'
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
ifconfig eth0 | grep "inet " | awk '{print $2}' | awk -F : '{print $2}'