[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what port your on



Hi,

I need to find a way find a way for a user to find out what terminal they
are currently logged in at. 

eg:


mike       1508  23418  0.0 07:54:38 ttyu5        0:00.16 -ksh (ksh)
mike      12692  27976  0.1 09:38:47 ttywa        0:00.08 -ksh (ksh)

If I was currently logged in on ttyu5, I'd need to display the info for
ttywa

Thanks

______________________________________________________________
Michael Bucholtz - Systems Administrator, Colleague Operations
Centre for Education Information
Phone: (250) 978-4237  Fax: (250) 978-4201
E-mail: mbucholtz@ceiss.org
On the Web: http://www.ceiss.org