added helper scripts

This commit is contained in:
Rohit Gupta
2015-10-26 11:34:08 +01:00
parent f0456ba16f
commit 4d0015fed2
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
#$1 programs to be killed and checked
var=`ps -A |grep -E -i $1`
echo $var
if [ -n "$var" ]; then echo 'Match found'; else echo 'Match not found' ;fi