I'm trying to write a CGI or something that'll output something
continuous. As a tester, something like:
#!/usr/bin/perl
printf ("Content-type: text/plain\n\n");
exec("/usr/bin/tail -f /var/log/messages");
Would be good. Is there something special that has to be done (note, I'm
not necassaryily going to do it in Perl, but I'm trying to work out the
"how it should be done" thing...
Kate
--
The words of the unwary are apt to cause needless pain and bloody violence.
- Zen Master Greg
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!