From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,aa64604f1a5328db X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-18 04:06:22 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!convex!cs.utexas.edu!howland.reston.ans.net!EU.net!CERN.ch!news From: danpop@cernapo.cern.ch (Dan Pop) Subject: Re: How can I know the machine from which I am connected? Message-ID: Sender: news@news.cern.ch (USENET News System) Organization: CERN European Lab for Particle Physics References: <32n32f$uc@ulci22.unil.ch> Date: Thu, 18 Aug 1994 09:37:10 GMT In <32n32f$uc@ulci22.unil.ch> aroy@news-server.unil.ch () writes: >Hello, > >I am looking for a command (from the shell) that tells me the name >(ot the IP nb) of the machine from which I am connected on a OSF1 machine. > Have you tried "who am i"? It will not work if you connect to the machine by starting an xterm with rsh, but it will work for telnet and rlogin. Dan -- Dan Pop CERN, CN Division Email: danpop@cernapo.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland