Hacker News new | ask | show | jobs
by linsomniac 2281 days ago
Ooh, that's very cute! I usually throw a "| grep -v grep" on the end, but I'm gonna try to remember this.
1 comments

Better to remember pgrep, instead of an incremental change that you'll find still has problem cases (such as matching usernames).

* http://mywiki.wooledge.org/ProcessManagement#But_I.27m_on_so...

M. Wooledge's description of ps options is not quite accurate, but that is incidental to xyr main point.