[Tipz] byebye grep -v grep

Ari Pollak ari at ccs.neu.edu
Fri Jan 31 13:03:03 EST 2003


It didn't work for me on the Solaris boxes either, but perhaps that was 
just weird.

David N. Blank-Edelman wrote:

> 
> I would think that too , but Ari is right, it doesn't work that way for
> either grep or egrep on the linux boxen:
> 
> [meddle: ~] % ps -ef|grep '[d]nb'
> dnb      25641 25637  0 12:34 ?        00:00:00 /usr/sbin/sshd
> dnb      25642 25641  0 12:34 pts/0    00:00:00 -zsh
> dnb      25688 25642  0 12:56 pts/0    00:00:00 ps -ef
> dnb      25689 25642  0 12:56 pts/0    00:00:00 grep [d]nb
> 
>      -- dNb



More information about the Tipz mailing list