Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep show lines above and below

grep -C 3 foo README.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #grep #show #lines
ADD COMMENT
Topic
Name
2+7 =