Advertisement
gaurav208012

Show IP address

Jun 28th, 2012
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. To show your ip address:-
  2.  
  3. EXTIP="`/sbin/ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
  4.  
  5. See reference on:-
  6. http://www.aboutdebian.com/proxy.htm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement