>>210
最も初心者的には次のようなCGIを書くとよろし

#!/bin/sh
echo "Content-type: text/plain"
echo ""
df -h