#!/bin/bash printf "Content-type: text/html\n\n" printf "<html><head>" printf "<meta charset=\"UTF-8\">" printf "<title> BB</title></head>" printf "<body><h1>Hello</h1><para>" hostname printf "up for" uptime printf "</para></html>"