#! /bin/sh echo "$1\nclose" | nc 127.0.0.1 6600