From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079044115581.tru64-unix-managers.marc@archive.invalid> From: Edward Nowlan Date: Mon, 07 Jun 1999 15:07:52 +0000 To: tru64-unix-managers Subject: How do you determine the IP Address you connected with? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079044115581 I need to create a script that can display the IP Address, DNS Name and Ethernet Address. I currently have the script using last, but I was hoping that there was something else that could give me the IP address of the machine I was connecting from. I see that finger gives me this information also, but if the user is logged on more than once, I would have to figure out which one is which. Any simple system call that can return the IP address of the current process? Thanks. -- Edward S. Nowlan Networks and Systems Administrator Williams College Voice: 413-597-2082 Fax: 413-597-4103 Email: edward.nowlan@williams.edu