Handy grep for Windows

July 10, 2008

It is quite unfortunate that a lot of Windows users have no idea how much the “command line” can be fun and efficient. For example, system administrators have often enjoyed the power and simplicity of the grep command in Unix. I know that a lot of the time you may need for something more powerful such as regular expressions using Python, Perl, or Ruby; but grep was always handy for searching large files (such as log files) and filtering only the lines containing some text.

For those of you using Windows and in need for grep you can download the Windows version of Gnu grep from http://gnuwin32.sourceforge.net/packages/grep.htm.

It’s always handy to have it. After downloading and installing it you should add the bin folder’s path to your path by right-clicking My Computer and choosing Properties the Advanced tab, then Environment Variables.

Have fun!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: