Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!husc6!rutgers!orstcs!nucthy.physics.orst.edu!ghe From: ghe@nucthy.physics.orst.edu (Guangliang He) Newsgroups: comp.unix.questions Subject: Why doesn't 'who -q' work properly??? Message-ID: <10722@orstcs.CS.ORST.EDU> Date: 19 May 89 20:06:46 GMT Sender: usenet@orstcs.CS.ORST.EDU Reply-To: ghe@nucthy.physics.orst.edu (Guangliang He) Organization: Dept. of Physics, Oregon State University Lines: 24 The following is the output of the 'who' command with and without -q option. % who user1 console May 18 08:30 user2 tty01 May 17 22:31 user3 tty03 May 19 08:35 user4 tty06 May 19 07:28 % who -q user1 user2 user3 user4 user4 # users=4 Can anyone explain why the 'who -q' gave a fake user 'user4' but saying # of user = 4 ? Thanks a dozen ----------------------------------------------------------------------- | USMAIL: Guangliang He | INTERNET: ghe@PHYSICS.ORST.EDU Department of Physics | ghe@jacobs.CS.ORST.EDU Oregon State University | BITNET: hegl@orstvm.bitnet Corvallis, OR 97331 | PHONE: (503) 754-4631 | -----------------------------------------------------------------------