Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GREP

Status
Not open for further replies.

jestrada101

Technical User
Mar 28, 2003
332
Is there a method to "grep" and return me with line along with the line number.

thanks
JE
 
In the grep man page pay attention to the -n option.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top