Xref: utzoo comp.unix.aix:3556 comp.unix.questions:28592 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!vtserf!creatures!bloss.cs.vt.edu!ramakris From: ramakris@bloss.cs.vt.edu (S Ramakrishnan) Newsgroups: comp.unix.aix,comp.unix.questions Subject: Finding hostname from where user logged in Message-ID: <914@creatures.cs.vt.edu> Date: 11 Feb 91 02:11:32 GMT Sender: usenet@creatures.cs.vt.edu Reply-To: ramakris@bloss.cs.vt.edu (S Ramakrishnan) Followup-To: comp.unix.aix Distribution: na Organization: Virginia Tech Computer Science, Blacksburg, VA Lines: 11 I am interested in finding out the env variable that stores the name of the host from where the login session was initiated. This is for AIX. Under Bourne Shell, this info is stored in the L0 env variable. What about C shell ? Thanx. -- S Ramakrishnan, CS Dept, McBryde Hall, VaTech, Blacksburg, Virg. 24061-0106 { Email : (Internet) : ramakris@bloss.cs.vt.edu }