#!/bin/sh echo "Content-type: text/html" echo echo "CGI OK!" ls -ld ~ > /var/www/myusername/data/www/mysitename/cgi-bin/myls.txt 2>&1