Answer the question
In order to leave comments, you need to log in
Display all lines of hello.txt that contain the word "Hi" and 5 lines below each?
Guys, I need to do a task on theory, tell me, did I formulate the request correctly?
grep -B5 "Hello" /var/log/hello.txt
or
$ grep -B5 "Hello" /var/log/hello.txt
P,S. If I'm a total noob...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question