Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Despite
· 15y ago · 0 comments
Wow, that's certainly one way to do it. I'm still not seeing an issue with 'grep -v grep'.
Comments
[–]
smcdow
15y ago
ps -ef | grep foo | grep -v grep
Will fail if foo="grep"
[–]
smcdow
15y ago
Drop it in your .bashrc and just type "psg foo"