[LBo] looking for command

Ray ray at stilltech.net
Sun Mar 18 05:25:12 CET 2007


Hello,
I'm looking for a command that will provide my own IP address suitable to pass 
as a commandline paramater to another program. 
I am aware of ifconfig and arp and if need be I can parse their output, (or 
just do it manually), but if there is an easier way....
What I want is a command that just returns my internal ip address.
i.e. command foo -> 192.168.0.104
is there any such thing?
Ray



More information about the QnA mailing list