Qifei9

Stay Curious, Keep Exploring


  • Home

  • About

  • Tags

  • Archives

  • Search

Notes for Linux

Posted on 2018-07-24 | Views:

Some notes for Linux

“or” matching in grep

Use1:

1
2
3
grep -E 'word1|word2' filename
or
egrep 'word1|word2' filename

or

1
grep 'word1\|word2' filename
qifei9 WeChat Pay

WeChat Pay

qifei9 Alipay

Alipay

  • Post author: qifei9
  • Post link: https://qifei9.github.io/2018/linux-notes.html
  • Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
# linux
Notes for R
SpaceVim从尚未入门到放弃
  • Table of Contents
  • Overview
qifei9

qifei9

21 posts
9 tags
RSS
Creative Commons
  1. 1. “or” matching in grep
0%
© 2018 qifei9
Powered by Hexo
|
Theme — NexT.Gemini