[K12OSN] Need script help for fl_teachertool

Robert Arkiletian robark at gmail.com
Tue May 2 23:45:25 UTC 2006

I can find the ip of a client I am sitting at with

cat /etc/hosts | grep `echo $DISPLAY | cut -d: -f1` | cut -f1

problem is if I run this command from the server I get

Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

What I want is

Any ideas?
Robert Arkiletian
Fl_TeacherTool http://fltk.org/links.php?V269
C++ GUI tutorial http://fltk.org/links.php?V19

More information about the K12OSN mailing list