Commit 03a46fa5 authored by Rohit Gupta's avatar Rohit Gupta

minor bugfix to kill script

parent 84a6f9f4
#!/bin/bash #!/bin/bash
#$1 programs to be killed and checked #$1 programs to be killed and checked
ps -aux |grep -E -i $1| awk \'{print $2}\' | sudo xargs kill -9 ps -aux |grep -E -i $1| awk '{print $2}' | sudo xargs kill -9
var=`ps -aux |grep -E -i $1` var=`ps -aux |grep -E -i $1`
echo $var echo $var
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment