Originally Posted by sivanenu
will you please elaborate with an example. i am new to linux.
Please read the "Question Guidelines" link in my posting signature.
You can VERY EASILY
find many awk examples (as well as examples using other tools), if you tried a brief Google search for something very obvious, like "how to get data between two strings in linux". We are happy to help you, but you are going to have to show some effort of your own. Post what you've done/tried, or post one of the examples you found and tell us what you're confused about. But we aren't going to look things up for you.