Search Results

Search: Posts Made By: bigbot
3,074
Posted By bigbot
If you want context around the line use the -A,...
If you want context around the line use the -A, -B, or -C options. For instance:

grep "string" /path_to_directory/ -C50

This will give you 50 lines of context around the line matched. Also, I...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy