#!/bin/bash print_html_head(){ echo -e "Content-type:text/html\r\n\r\n"; echo -e "\n"; echo -e "\n"; echo -e "\n"; } print_html_foot(){ echo -e ""; } print_html_head echo -e "

Command \"$1\" Received

\n"; echo $1 > /Users/Shared/commandfifo print_html_foot