Easy to read/ search contents in a file using grep output

In post we are going to find out how we can display the grep contents(colorful) in application log file(say). You are searching a particular content in a application log file. The log file is too big and you need to open it in a notepad++ or editplus. Rather than use the below tip.

Go to the path in which log file is

type grep –color=always PSP route.dat

grepjoseblog

Hope this helps you. Please subscribe and comment if you have any doubts.

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s