Path: utzoo!mnetor!uunet!steinmetz!davidsen From: davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) Newsgroups: comp.unix.questions Subject: Re: Logging the ^d logoff Message-ID: <9572@steinmetz.steinmetz.UUCP> Date: 16 Feb 88 20:47:12 GMT References: <209@mccc.UUCP> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 12 I tried "who am i" on Ultrix and Xenix, and looked in a real SysV manual. All seem to list the login time of the user, rether than the current time. May I comment to your attention the "date" command. How about: trap "echo `who am i` `date`" 0 1 3 this gives you the one line output you might want. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me