On Sun, 2018-11-11 at 10:12 -0700, Joe Zeff wrote:
On 11/11/2018 02:28 AM, Ed Greshko wrote:
> [egreshko@meimei ~]$ ps -eaf | grep geoclue
> egreshko 1691 1 0 Nov10 ? 00:00:00
/usr/libexec/geoclue-2.0/demos/agent
> egreshko 5684 2503 0 17:25 pts/3 00:00:00 grep --color=auto geoclue
Try adding | grep -v grep to the end of that to get rid of the extra line.
Or use pgrep.
poc