[techtalk] Where'd I come from?

Karl-Heinz Zimmer khz at snafu.de
Mon Jan 17 22:48:43 EST 2000


Am 1/17/00, 11:36:03 PM, schrieb Linda Walsh:

> I'm trying to autoset the DISPLAY value when I log in remotely.
> Under Sunos, the remote system name was output by the 'who -m'
> command, and under IRIX it was in REMOTEHOST, but I am not
> readily seeing how to handle this in SuSE 6.3.  I thought about
> trying to pick values out of the 'last' command, but it truncates
> the system name anyway.

> So anyone know a command will display the system I logged in from
> (empty if a local login)?

So the   hostname   command doesn't work under this circumstances?

Perhaps you can find the file   /etc/HOSTNAME   of the remote
computer and read it out?

Regards,
Karl-Heinz




************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list