Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k

How to grep number of occurence of two different words('register', 'evn') in a file on Linux?

How to grep number of occurenceoccurrence of two different words('register', e.g. 'register' and 'evn') in a file on Linux ?

theThe output should be like following: registered:20

registered:20

How to grep number of occurence of two different words('register', 'evn') in a file on Linux?

How to grep number of occurence of two different words('register', 'evn') in a file on Linux ?

the output should be like following: registered:20

How to grep number of occurence of two different words in a file on Linux?

How to grep number of occurrence of two different words e.g. 'register' and 'evn' in a file on Linux ?

The output should be like following:

registered:20
Source Link
Supriya
  • 31
  • 1
  • 2

How to grep number of occurence of two different words('register', 'evn') in a file on Linux?

How to grep number of occurence of two different words('register', 'evn') in a file on Linux ?

the output should be like following: registered:20