Skip to main content
1 of 3
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

Supriya
  • 31
  • 1
  • 2