From: Chad Price <cprice () molbio ! unmc ! edu>
To: tru64-unix-managers
Subject: SUMMARY: who command
Date: Thu, 13 Jan 2000 00:07:34 +0000 [thread overview]
Message-ID: <96079271218525.tru64-unix-managers.marc@archive.invalid> (raw)
The answer:
use 'who -Mm' instead of 'who -M'
Thanks to:
Tom Blinn
Jie Gao
Tom Webster
Bob Sloane
and others whose replies I may not yet have received.
Comment: the output of who _may_ have indeed changed between 4.0B and 4.0F
and hence broken my script, and I once again looked on the man page for the
wrong OS (Solaris 7...). I had always considered the options to 'who' as
mutually exclusive since they give such different kinds of information.
Original Post:
>Date: Wed, 12 Jan 2000 16:00:14 -0600
>To: tru64-unix-managers@ornl.gov
>From: Chad Price <cprice@molbio.unmc.edu>
>Subject: Who command
>
>
>If I recall, under 4.0B, 'who -M' returned only the line containing the
>current logged in terminal with the machine name associated with it.
>
>I'm now running 4.0F. 'who -M' now seems to return info on all users
>currently logged in.... The manual page reads otherwise.
>
>Is this a change to match some requirements document somewhere or is it an
>error?
>
>(The real problem - I've been using a script to set the DISPLAY variable
>for my X users, and it no longer works.... )
>
>The script (under csh/tcsh) is:
> setenv DISPLAY `who -M |grep $USER |awk '{print $6}'|tr -d
> '[()]'`:0.0
Chad Price
Systems Manager, Genetic Sequence Analysis Facility
University of Nebraska Medical Center
986495 Nebraska Medical Center
Omaha, NE 68506-6495
cprice@molbio.unmc.edu
(402) 559-9527
(402) 559-4077 (FAX)
reply other threads:[~2000-01-13 0:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox