4 ms·
ps | grep | grep -v grep amirite? pgrep often fails me I think mostly for apps the edit their cmdline and it needs to whole word match I think?
by lathiat 9y ago
ps | grep | grep -v grep
amirite?
pgrep often fails me I think mostly for apps the edit their cmdline and it needs to whole word match I think?
- stevekemp 9y agoYou can avoid literal matches like so: ps | grep [g]rep Though it is still a bit terrible.