* SUMMARY: who command
@ 2000-01-13 0:07 Chad Price
0 siblings, 0 replies; only message in thread
From: Chad Price @ 2000-01-13 0:07 UTC (permalink / raw)
To: tru64-unix-managers
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-13 0:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-13 0:07 SUMMARY: who command Chad Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox