b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

HOWTO: Use the Grep Command

by Jon on May 23rd, 2006

One of the problems with writing an entry on the grep command is that it’s so invloved. Grep is a “take it or leave it” command. By that I mean that it can be used easily and quickly with few options, or it can be used with jedi-like mastery. You can basically get as involved as you want.

My use of grep is pretty basic. I typically use it to find things like the pid of a running process so I can kill it:

Ps aux | grep some_process

But there are so many more wonderful and indepth ways to use so. In fact, after thinking about it for many days, I’ve decided that I am not now, nor likely to ever be, qualified to write an entry on it.

Therefore, I have scoured the web and have found a decent, if basic, tutorial on grep, egrep, and fgrep. I would also ask readers to please link to other good toturials out there in the comments on this post.

Here’s the one I found.

I know it’s kind of lame not to write my own post, but this is legitimately out of my area of expertise.

POSTED IN: How To

2 opinions for HOWTO: Use the Grep Command

Have an opinion? Leave a comment:




Check Spelling
Activate Spell Check while Typing
Site Meter
Close
E-mail It