grep

  1. B

    Grep command in Linux help (Newbie)?

    Say I have a file with 200 lines. I do the grep -n PATTERN FILE . Now say I want an output of lines with the word "hello" by itself only in lines 100 -150. And the output has to have the lines numbered too. How can I do this ? I have been trying for hours ! If you know another command I can...
Back
Top