You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am really struggling to figure out what the right code is to grep multiple pieces of text in the vehicles file. I have tried piping so
grep -A 5 'L377' mystery/vehicles | grep -B 1 -A 4 'Honda' | grep -B 2 -A 3 'Blue' | grep -B 4 -A 1 'Height: 6' >> suspects.txt
but nothing appears in suspects.txt
I'm definitely missing something! Can anyone help?
The text was updated successfully, but these errors were encountered:
I am really struggling to figure out what the right code is to grep multiple pieces of text in the vehicles file. I have tried piping so
grep -A 5 'L377' mystery/vehicles | grep -B 1 -A 4 'Honda' | grep -B 2 -A 3 'Blue' | grep -B 4 -A 1 'Height: 6' >> suspects.txt
but nothing appears in suspects.txt
I'm definitely missing something! Can anyone help?
The text was updated successfully, but these errors were encountered: