Answers for "bash print lines that dont have a word"

1

bash print lines that dont have a word

# Basic syntax:
grep -v word input_file
# This prints all lines of the input_file that don't contain "word"

# Note, even lines that contain the substring "word" are removed
Posted by: Guest on October-04-2020

Code answers related to "bash print lines that dont have a word"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language