Is there an inbuilt command to do this or has anyone had any luck with a script that does it?
I am looking to count the number of times a certain string (not word) a
I have used below command to find particular string count in a file
grep search_String fileName|wc -l