Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In Linux, you have file, kevin.txt, how do you print out all the lines that do NOT have the word "test"?
Answer
grep -v test kevin.txt
^^ -v is short for --invert-match

Question
In Linux, you have file, kevin.txt, how do you print out all the lines that do NOT have the word "test"?
Answer
?

Question
In Linux, you have file, kevin.txt, how do you print out all the lines that do NOT have the word "test"?
Answer
grep -v test kevin.txt
^^ -v is short for --invert-match
If you want to change selection, open document below and click on "Move attachment"

4. Basic Commands
the lines in which the word was found. grep -B <num> <pattern> <filename> prints out <num> of the lines that came B efore each of the lines in which the word was found. <span>grep -v <pattern> <filename> prints out only those lines that do not contain the word you are searching for. [ You may think that the -v option is no longer doing the same kind of t

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.