metres@metres /var/www/localhost/cgi-bin $ ls -al total 16 drwxrwxr-x 2 apache apache 4096 nov 3 14:48 . drwxr-xr-x 10 apache apache 4096 sep 22 15:06 .. -rwxrwxr-x 1 apache apache 70 nov 3 14:40 bash.sh -rwxrwxr-x 1 apache apache 57 nov 3 14:47 perl.pl metres@metres /var/www/localhost/cgi-bin $ ./bash.sh Content-type: text/html haha metres@metres /var/www/localhost/cgi-bin $ ./perl.pl Content-type: text/html haha metres@metres /var/www/localhost/cgi-bin $ cat bash.sh #!/bin/sh # echo "Content-type: text/html" echo "" echo "haha" metres@metres /var/www/localhost/cgi-bin $ cat perl.pl #!/usr/bin/perl print "Content-type: text/html haha "; metres@metres /var/www/localhost/cgi-bin $