Over a million developers have joined DZone.

get ip for linux OS

·
#!/bin/sh

ifconfig |sed -n '2p'|awk -F: '{print $2}'|awk '{print $1}'
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}