I want to search Terminal output from a command for a string and display only the lines that include that string.
How can I do it?
I'm interested in searching the Terminal output, not a file. I have tried
ls --help | grep '--l '
but that gave me error.
command | grep 'string'
– FedKad Nov 23 '19 at 20:02'-l '
is giving me error – BlueSkies Nov 23 '19 at 20:27