Well, You can get the hostname of the terminal from the DISPLAY environment variable.
Then use awk or cut to separate it by the ':'. Jim McQuillan [EMAIL PROTECTED] On Sun, 14 Dec 2003, Dieter Kroemer wrote: > Hi, > > how can I get the IP of a terminal in runlevel 5? > > Well I can type in "who" and ping to the hostname of the terminal, but > I think there is an easier way, but I don't know it. > > Thanks for any hints :-) > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
