經安全檢測,此網站為安全網站,請放心前往原始網址!

bash - Shell script to capture Process ID and kill it if exist - Stack Overflow

PID=ps -ef | grep syncapp 'awk {print $2}' I couldn't able to get the output which is actually process id into PID variable. Is there any syntax wrong or script wrongly ... Unfortunately I didn't find the process name exactly. I'm getting the processes by

stackoverflow.com

網址安全性掃描由 google 提供