Determining one's own IP address.

Carl M. Fongheiser cmf at obie.cis.pitt.edu
Sat Dec 16 06:22:51 AEST 1989


In article <6591 at jpl-devvax.JPL.NASA.GOV> lwall at jpl-devvax.JPL.NASA.GOV (Larry Wall) writes:
>In article <21146 at unix.cis.pitt.edu> cmf at 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 at unix.cis.pitt.edu



More information about the Comp.unix.wizards mailing list