Oneliner to view your own ip address on linux


SUBMITTED BY: Guest

DATE: Nov. 23, 2012, 4:04 a.m.

FORMAT: Bash

SIZE: 89 Bytes

HITS: 1213

  1. ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'

comments powered by Disqus