Using grep Flashcards
1
Q
Check that pattern matches a whole word
A
grep -w “string”
2
Q
What happens if there isn’t a match
A
no meesage displays, and we go back to the prompt
3
Q
Check for a pattern regardless of case
A
grep -i “string”