#!/bin/sh
echo Content-Type: text/html
echo
echo '<html><body><pre>'
dmesg # <-- Beispiel fuer ein Unix-Kommmando
echo '</pre></body></html>'
