CSx
Github Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

đŸ’ģ Grep


Find match or match

  • grep 'match\|match2'

  • grep -E 'match|match2'

Find match and match

  • grep 'match.*match2'

Omit match

  • grep -v 'match'

Find first or last of line match

  • grep "^match"

  • grep "match$"

Resources