remove_old_programs.bash~ 167 Bytes EditWeb IDE 1 2 3 4 5 6 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