| Quote (mikshaw @ May 19 2007,02:41) |
| Try using spaces within quotes or after backshlashes: grep " gproftpd " or grep \ gproftpd\ (<< a space) |
| Quote (^thehatsrule^ @ May 19 2007,16:02) |
| I think he wants to _ignore_ gproftpd. Using something like this might work: grep -e " proftpd$" |
| Quote |
| Or you could use awk ... much easier to deal with fields. |
| Quote (mikshaw @ May 20 2007,04:53) |
| I didn't notice that part. So as ^thehatsrule^ said, use $ as the last part of the grep (with the -e option for expression) |