How to print the line numbers with corresponding line that matches a pattern using shell command?
69754
How to display line number while doing grep on a file
126000
How to perform a multi line grep
107892
output neighbouring lines with line numbers while grepping
53200
How to separate command output to individual lines
155976
How to join a line with a pattern with the next line with sed?
83564
How to grep lines which does not begin with "#" or ";"?
49331
How to loop over the lines of a file?
153536
number lines in a file
153817
Shell, howto extract letters from $line1="Test this... test this!", and print one by one
128116
How to find patterns across multiple lines using grep?
114565
GREP / SED or AWK: Print entire paragraph in a file on pattern match
30288
How to print all lines after a match up to the end of the file?
15296
How can I assign the output of a command to a shell variable?
61720
Print a file, skipping the first X lines, in Bash
69609
How can I print multiline output on the same line?
101601
Which order does find command use to print out
131578
Command for getting number of lines in another file