How to use grep to match multiple strings in the same line?
grep 'string1\|string2' filenamegrep -E "string1|string2" filenameHow can I grep for a string that begins with a dash/hyphen?
1. Quote AND/OR escapeCode:
ls | grep "\-a"(that \ is the escape character)
or
2. Use flag "--" to stop switch parsingCode:
ls | grep -- -a










