Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep second line

grep -m2 "two" in-file.txt | tail -n1
 
PREVIOUS NEXT
Tagged: #grep #line
ADD COMMENT
Topic
Name
4+1 =