5 line
97 B
Bash
Executable File

#!/bin/sh
#
pid=`ps -aef | grep -i 'smarthome.py' | grep -v 'grep' | awk '{print $2}'`
kill $pid