I am trying to get a particular process as I know the name and then send that PID to kill program to terminate it. I have come far enough to find the process ID but I cannot find a way to feed it to kill command. I tried the following with no luck. Any help is welcome.
Code:ps -ef |grep tpsServer |awk '{print $3}'|kill -s 9
Thanks.
Bookmarks