#!/bin/bash result=`ping -c 1 -W 1 192.168.2.2` error_code_nuc=$? echo Content-type: text/html echo "" /bin/cat << EOF