#!/bin/bash cd `pwd` h_server="./HashieldServer.exe" if [ -f ${h_server}.pid ]; then pid=`cat ${h_server}.pid` kill ${pid} fi