Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!obie.cis.pitt.edu!cmf From: cmf@obie.cis.pitt.edu (Carl M. Fongheiser) Newsgroups: comp.unix.wizards Subject: Re: Determining one's own IP address. Message-ID: <21201@unix.cis.pitt.edu> Date: 15 Dec 89 19:22:51 GMT References: <601@bmers58.UUCP> <4429@ur-cc.UUCP> <21146@unix.cis.pitt.edu> <6591@jpl-devvax.JPL.NASA.GOV> Sender: news@unix.cis.pitt.edu Reply-To: cmf@obie.cis.pitt.edu (Carl M. Fongheiser) Organization: University of Pittsburgh, Computing and Information Services Lines: 15 In article <6591@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: >In article <21146@unix.cis.pitt.edu> cmf@obie.cis.pitt.edu (Carl M. Fongheiser) writes: >: Yep, and if you do "netstat -in", you won't even need to run ifconfig, >: since netstat will print out the address without turning it into a name. > >Truncated for your convenience to 12 chars. Yikes. Well, *mine* doesn't truncate to 12 chars. So, for the benefit for those who may care, *if* you are running Ultrix 3.0 or 3.1 on a Vax (don't have a PMAX handy), "netstat -in" will show your IP address without truncating. Others probably better check their output, and use ifconfig if necessary. Carl Fongheiser cmf@unix.cis.pitt.edu