Files
openairinterface5g/cmake_targets/autotests/tools/remove_old_programs.bash
T
2015-10-26 11:34:08 +01:00

8 lines
165 B
Bash
Executable File

#!/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