pgrep -f from shell script is returning 2 pid instead of 1

Subscribers:
4,130
Published on ● Video Link: https://www.youtube.com/watch?v=Zp79URExiOY



Duration: 2:32
6 views
0


pgrep -f from shell script is returning 2 pid instead of 1
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(serverfault.com/users/1067421/nitin-alety)Nitin Alety
(serverfault.com/users/604298/tsc-chazz)tsc_chazz
A special thanks goes out to the (https://serverfault.com/questions/1150221/pgrep-f-from-shell-script-is-returning-2-pid-instead-of-1)Stackexchange community

I wish you all a wonderful day! Stay safe :)

unix bash shell linux ubuntu







Tags:
unix
bash
shell
linux
ubuntu