#! /bin/sh if [ -f emu.pid ]; then kill $(cat emu.pid) rm emu.pid echo "RIP" else echo "nothing to RIP" fi