Y
Hacker News
new
|
ask
|
show
|
jobs
by
Despite
5531 days ago
Wow, that's certainly one way to do it. I'm still not seeing an issue with 'grep -v grep'.
2 comments
smcdow
5531 days ago
ps -ef | grep foo | grep -v grep
Will fail if foo="grep"
link
smcdow
5531 days ago
Drop it in your .bashrc and just type "psg foo"
link