awk '/string_to_find/{ print NR; exit }' fileName ----- for finding the line number of the matching string
tail --lines=+line_number_here fileName | less ----- for displaying the lines of a file starting at a specific line
tail --lines=+line_number_here fileName | less ----- for displaying the lines of a file starting at a specific line
No comments:
Post a Comment