grep a line code example
Example 1: linux search for line in file
grep -R "keyword" /directory/
Example 2: grep specific line
sed '3,10!d' your.file # capture line 3 to 10
#same number for single line
grep -R "keyword" /directory/
sed '3,10!d' your.file # capture line 3 to 10
#same number for single line