Programming and posix getting started

8
A CGI program - 2
Test the CGI program:
> echo foo | hwcgi | cat
Content-type: text/plain
hello world
Copy CGI program to cgi-bin directory:
> cp hwcgi /APACHE/PUB/cgi-bin
Point browser at:
http://systemname/cgi-bin/hwcgi