#!/bin/bash cd /root/mythremote pid=`ps -ef | grep MythRemote | grep -v grep | awk '{print $2}'` kill -9 $pid